| Welcome to WebmasterWorld Guest from 220.127.116.11 |
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
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.
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