Search found 4 matches

by LannaThai
Thu Nov 27, 2003 8:47 am
Forum: Databases
Topic: [SOLVED] testing works but live does not
Replies: 6
Views: 1026

i just figured it out! i am not sure why but when setting a username and password in the control panel for the database, the username and password have to agree with the username and password for the overall site, that is i can not set a username and password just for that database. not sure why tha...
by LannaThai
Thu Nov 27, 2003 8:31 am
Forum: Databases
Topic: [SOLVED] testing works but live does not
Replies: 6
Views: 1026

tried your suggestion infolock - same problem with lines 71 and 84. again, the only changes i made in the program from testing and live were to add a username and password to the config file, otherwise the files are the same. it seems like a perfect candidate for the register_globals solution but un...
by LannaThai
Thu Nov 27, 2003 8:00 am
Forum: Databases
Topic: [SOLVED] testing works but live does not
Replies: 6
Views: 1026

i checked phpinfo prior to posting - register_globals is on.
by LannaThai
Thu Nov 27, 2003 3:52 am
Forum: Databases
Topic: [SOLVED] testing works but live does not
Replies: 6
Views: 1026

[SOLVED] testing works but live does not

i am working on a webboard in Thai for an NGO - it works when testing with PHP Triad, however when I upload it - i get "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource" for lines 71 and 84. here is the code: any suggestions please? mysql_connect($host,$use...