22.06.2014, 12:41
Yes, you're using wrong version. The script uses R5 or R6 and you loaded one of the latest version that mysql_ping does not exist and the first argument in mysql_query is the connection handle whereas in the R5, R6 was the query (array).