This question has already been answered:
From the server side, I do this thing:
$row = mysql_fetch_array("SELECT img,name,life,atk,def,exp,type FROM pokemon WHERE id_pok = '".$_GET['startpoke']."'") or die('Error:'.mysql_error()); and I get the following error:
Warning: mysql_fetch_array () expects parameter 1 to be resource, given in C: xampphtdocsstyleregister.php
Please tell me what the error is.