[PHP] Storing mysql result into a pointer (or something)

2002-06-08 Thread Bård Tommy Nilsen
I am trying to store several results from an mysql_query into an int I want to produce several lines into $result, so i can include $result Into my email, or is there a better way to do this ? $query = mysql_query(select * from $table); $number = mysql_numrows($query) ; $i = 0; while ($i

[PHP] Storing mysql result into a pointer (or something)

2002-06-08 Thread Bård Tommy Nilsen
I am trying to store several results from an mysql_query into an int I want to produce several lines into $result, so i can include $result Into my email, or is there a better way to do this ? $query = mysql_query(select * from $table); $number = mysql_numrows($query) ; $i = 0; while ($i

Re: [PHP] Storing mysql result into a pointer (or something)

2002-06-08 Thread Jason Wong
On Saturday 08 June 2002 19:42, Bård Tommy Nilsen wrote: I am trying to store several results from an mysql_query into an int I want to produce several lines into $result, so i can include $result Into my email, or is there a better way to do this ? $query = mysql_query(select * from