<?
$chandle = mysql_connect('xxxxxxx', 'xxxxx', 'xxxxx');
$boolval = mysql_select_db('cp', $chandle);
$result = mysql_query("SELECT * FROM cameras where CUID = '" . $_GET['CUID'] ."'" ) or die('Query failed');
$row = mysql_fetch_array($result);
?>
test <?php print( $row[0] ); ?>
<br>row 1 - <?php print( $row[1] ); ?><br>
<br>row 2 - <?php print( $row[2] ); ?><br>
<br>row 3 - <?php print( $row[3] ); ?><br>
<br>row 4 - <?php print( $row[4] ); ?><br>
<br>row 5 - <?php print( $row[5] ); ?><br>
This is not pulling the information out of the database. its jsut blank
<a href="see_photos.php?CUID=<?php print( $row[0] ); ?>" target="_blank">
this is the line that is going to the page.
the server is usuing FreeBSD with php 4.0.6 when i use the exact same code on a different server with the same dataabse and information it works that server is usin php4.3.8
Could my problem be due to an older version of php installed ont he server? any help would be appreciated.