Jump to content

results


0x00

Recommended Posts

hey,

say i have a table such as this -

 

CREATE TABLE test_oh (value1 int not null, value2 int not null)

 

and did a query like so -

$query = "SELECT value1, value2 FROM test_oh WHERE (value1 * value2 >= 300) ";

how without redoing the calculation could i also get the result, say a bit like this (but not) -

 

$query = "SELECT value1, value2, x FROM test_oh WHERE (value1 * value2 >= 300) as x ";

 

thanx

Link to comment
https://forums.phpfreaks.com/topic/107199-results/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.