RE: Update data problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sam, 

I have changed it but the result is still the same:

Basically I am getting $E = $C ,  it seems that it is not picking up the
value of $G (and there is a value of 500 in there and it is the only row
of data).

-----Original Message-----
From: Sam Chill [mailto:samchill@xxxxxxxxx] 
Sent: Thursday, 24 June 2004 2:55 PM
To: php-db@xxxxxxxxxxxxx
Subject: Re:  Update data problem


$E= "$C*$G";
Should be:
$E = $C * $G;

Never use quotation marks when doing math. Quotation marks are used
for strings. Hope that helps.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux