Inserting into a mysql database Inserting into a mysql database Welcome to the tutorial, inserting into a mysql database is pretty easy. Code: mysql_query(); This is the code often used when using mysql query'sCode: $tablename = 'table_name'; mysql_query("insert into $tablename (row1,row2) values('row1 value','row2 value') "); You can add stuff to the end of insert querys like Code: mysql_query("insert into table_name (row1,row2) values('row 1 value','row 2 value') limit 1 "); This will make sure the querry only takes place once. If you would like more help with this tutorial please register and visit the forum. |
About Michael
“But I am already older than 21”, I hear you cry.
Don’t worry, despite the name, the information and advice is more geared towards retiring prior to having a fake hip installed. Website Sponsors
Recommended Websites
Feature Interviews
Graham went from $100
one day to ...
Read more
Paul Bourque started affiliate marketing
less than ...
Read more
Interview with Yaro
Starak of Entrepreneurs-Journey.com is ...
Read more
Recommended Resources
|
||||||
Get Retire at 21's FREE Secrets
Find out how I'm going to Retire VERY Early Subscribe for my Free Secrets Privacy Guaranteed. 100% Spam free. |
|||||||