Posted by J.O. Aho on 07/29/06 17:50
MS wrote:
> I need to run a php function within a query (creating a new column) of the
> results of the function so that I can filter on this new column.
You will need to fetch the result to the PHP and there then populate a new
query where you use the results to create your new column.
> But does anybody know what commands - functions etc I need to be looking at?
mysql_fetch_array()
http://www.php.net/manual/en/function.mysql-fetch-array.php
mysql_query()
http://www.php.net/manual/en/function.mysql-query.php
//Aho
Navigation:
[Reply to this message]
|