![]() |
|
#1
|
|||
|
|||
registering new users, inserting into multiple tablesI need to insert new customers information into multiple mysql tables when I register them. I have this code, and the first part works, but the second function does not, what are some possible solutions? I have set up all of the variables and they work properly.
session.php is where the information is stored in the database PHP Code:
database.php is linked w/ session.php PHP Code:
I honestly do not know what I'm doing wrong |
|||
|
#2
|
||||
|
||||
Re: registering new users, inserting into multiple tablesIs 'tbl' a real table?
What is the sql error message? __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: registering new users, inserting into multiple tablesIt is a real table, and there is no mysql error message, it just acts like I didn't even write any code, you know?
I'm so clueless |
|
#4
|
|||
|
|||
Re: registering new users, inserting into multiple tablesI figured it out, I was testing my tables and databases and I typed in the wrong database name, I feel even more retarded now, but at least its fixed
|
|
#5
|
||||
|
||||
Re: registering new users, inserting into multiple tablesNowadays, I always write my queries like this: PHP Code:
Of course I log my PHP errors to a file, so I don't worry about the error messages being shown on the web pages because they are not. |
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linker errors with multiple file progam | nkhambal | C Programming Language | 2 | 24-Apr-2005 03:37 |
| Customising SMS sending script via e-mail gateway for multiple users | jrobbio | MySQL / PHP Forum | 4 | 29-Sep-2003 13:49 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The