|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Inserting into a sql databaseThis is a discussion on Inserting into a sql database within the Coding Tutorials forums. Topic: Welcome to the tutorial, inserting into a mysql database is pretty easy. Code: mysql_query(); This is the code often used ... |
![]() |
![]() |
|
![]() |
LinkBack | Thread Tools | ![]() | Search this Thread | ![]() | Display Modes | ![]() |
|
|
#1 (permalink) |
|
Welcome to the tutorial, inserting into a mysql database is pretty easy.
Code:
This is the code often used when using mysql query's Code:
This will insert into the table table_name and into the rows row1 and row2, we've also gave the rows some values. You can add stuff to the end of insert querys like Code:
This will make sure the querry only takes place once. Register @ Retire at 21 If you like this tutorial |
|
|
|
|