I have 3 jqGrids on a php page that are interacting with one another. I am using WAMPServer to provide the apache, php, and mySQL for testing the php on localhost.
In localhost, my php pages work perfectly, all 3 jqGrids are populated. When I put my php files on my website, the jqGrids remain empty. Using Firebug on Firefox, I have narrowed down the problem to here:
$isic = $_GET['isic']; //This is the value being passed to this php page, it works
$result = mysql_query('SELECT COUNT(*) AS count FROM command WHERE ISIC = ' . $isic); // $result remains empty
$row = mysql_fetch_array($result,MYSQL_ASSOC);
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top