The program works local ok. The data were found in the datenbank and
display by the program.
When I wanted to test my program online, I get the following message:
mysql_result(): supplied argument is not a valid MySQL result resource
in ....
this message several times for all the mysql_result... .
The connection to the Datenbank seems to work because I didn't receive
an error message..... that's the script for the connection:
$db = @MYSQL_PCONNECT ($db_server,$db _user,$db_passw ort)
or die ("Connection failed");
$db_select = @MYSQL_SELECT_D B($db_name);
Could it be that however the datenbank was not really connected?
Because I cannot see it on my Provider Control Panel. Where should I
put the Datenbank really? Under mysql/data... just like I have it local
and it works fine?
Any help will be welcomed.
display by the program.
When I wanted to test my program online, I get the following message:
mysql_result(): supplied argument is not a valid MySQL result resource
in ....
this message several times for all the mysql_result... .
The connection to the Datenbank seems to work because I didn't receive
an error message..... that's the script for the connection:
$db = @MYSQL_PCONNECT ($db_server,$db _user,$db_passw ort)
or die ("Connection failed");
$db_select = @MYSQL_SELECT_D B($db_name);
Could it be that however the datenbank was not really connected?
Because I cannot see it on my Provider Control Panel. Where should I
put the Datenbank really? Under mysql/data... just like I have it local
and it works fine?
Any help will be welcomed.
Comment