f_dkid
03-07-2007, 06:52 PM
Hi guys, I'm having an issue that can't understand. I have a website that is running OK. After copying the website from one account to another account within the same hosting provider, the website stopped working. When it reaches the first select script stops there. No error, white pages showing only what's already loaded. The hosting customer support have been all around this for three days stating that is an error of coding, but this same script works prefectly in three other of there accounts. Any idea on why this is happening? thanx
# defining query statement necessary to get all the product elements
$sth = 'SELECT c_id, c_name FROM t_menus WHERE c_type= 0 order by c_position';
# array $data with $pid value
$data = array(0);
# gather the data on array $row
$rows = $dbh->getALL($sth);
if (count($rows) > 0){
$i = 0;
foreach ($rows as $data){
# defining query statement necessary to get all the product elements
$sth = 'SELECT c_id, c_name FROM t_menus WHERE c_type= 0 order by c_position';
# array $data with $pid value
$data = array(0);
# gather the data on array $row
$rows = $dbh->getALL($sth);
if (count($rows) > 0){
$i = 0;
foreach ($rows as $data){