| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|insert data in mysql with php|
do you have a simple script
| 2:11 pm on Mar 25, 2003 (gmt 0)|
I just want to insert my name into the database from a web site that is using php.
I want the name to be inserted as soon as SUBMIT is pressed and a new window saying name saved should show.
I just need this very simple script, nothing else.
| 4:48 pm on Mar 25, 2003 (gmt 0)|
Well first you would have to make the form to submit the name to the db. Then set your insertion script as the form action.
The script then needs to have these elements.
connect to mysql using
select your db using
send your insert query using
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved