02.07.2016, 09:43
You need to get connection handle when you connect to mysql-server and then use that every time you use any mysql funciton. Example:
PHP код:
new msqylHandle;// on top of script, global variable
mysqlHandle = mysql_connect(...);// add this 'mysqlHandle =' part on mysql connect line
//then use it like this :
mysql_pquery(mysqlHandle, .....);
mysql_format(mysqlHandle, .....);
mysql_close(mysqlHandle);