Thanks for your response, I did finally sove it by changing
mysql_fetch_row($result); to
mysql_fetch_array($result);
and assigning my variable as $somevar = $list['fieldname'];
Now I get my real value. Thanks again.
Alp
"Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PRO
Alp wrote:
Hi there,
I've been fighting with PHP/MySQL to get proper results but without success.
For example:
$sql = "SELECT * FROM prod WHERE shortname='Myprog";
$result = mysql_query($sql); >>> returns Resource #7
$list = mysql_fetch_row($result); >>> returns Array
and actual
2 matches
Mail list logo