Jump to content

Multiple (sql inserts)


apw

Recommended Posts

Hello, ive ran into a problem with sql insert.  My register.php file contains playername, password, email, empirename and title along with those when player submits the info the player provided gets pas sed to another php file called reguser.php in this file the info the player provided is checked and inserted into a table called pfile.  The insert into pfile works fine but when i tried placing a similar insert below the insert into pfile, after the ; at the end the information doesnt get inserted it doesnt generate an error and the pfile insert above the new insert also doesnt work.

 

my question is how do i go about adding multiple inserts within that php file

Link to comment
https://forums.phpfreaks.com/topic/116441-multiple-sql-inserts/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.