Re: [PHP] SQL Result Set -> HTML Table Fragment (but Simple)

2006-07-25 Thread tedd
At 10:55 AM -0400 7/25/06, tedd wrote: At 12:46 AM -0400 7/25/06, Michael B Allen wrote: Ok, I've been tinkering a little. This isn't "simple" but it's not a lot of code either. Granted, and no offense, it isn't simple the way you've attempted it. You simply have three columns with these cond

Re: [PHP] SQL Result Set -> HTML Table Fragment (but Simple)

2006-07-25 Thread tedd
At 12:46 AM -0400 7/25/06, Michael B Allen wrote: Ok, I've been tinkering a little. This isn't "simple" but it's not a lot of code either. Granted, and no offense, it isn't simple the way you've attempted it. You simply have three columns with these conditions: 1. Is gray if odd; 2. Is a time

Re: [PHP] SQL Result Set -> HTML Table Fragment (but Simple)

2006-07-24 Thread Michael B Allen
Ok, I've been tinkering a little. This isn't "simple" but it's not a lot of code either. Basically the user supplies an array of "cell renderers" associated with column names. Each renderer is a function name that will be called to modify an array() representing an HTML TD element. The result is p

Re: [PHP] SQL result

2006-04-18 Thread Andrei
I think you need mysql_fetch_assoc() or mysql_fetch_array(). You also can have a look into php's manual and simple find your functions... http://www.php.net/download-docs.php Andy Mohsen Pahlevanzadeh wrote: Dear all, I remember that i use a func that it return an array what it consist of re

Re: [PHP] SQL result

2006-04-14 Thread Kevin Kinsey
Mohsen Pahlevanzadeh wrote: Dear all, I remember that i use a func that it return an array what it consist of result of my sql query. Please name me that. Yours,Mohsen Was it mysql_fetch_array()? Which SQL was it? Also, are you aware that even entering an incorrect function name at php.

Re: [PHP] SQL result

2006-04-13 Thread Anthony Ettinger
http://us3.php.net/manual/en/function.mysqli-fetch-row.php On 4/25/06, Mohsen Pahlevanzadeh <[EMAIL PROTECTED]> wrote: > Dear all, > I remember that i use a func that it return an array what it consist of > result of my sql query. > Please name me that. > Yours,Mohsen > > -- > PHP General Mailing

RE: [PHP] SQL result

2006-04-13 Thread Jay Blanchard
[snip] I remember that i use a func that it return an array what it consist of result of my sql query. Please name me that. [/snip] RTFM. You are now named mysql_fetch_array. http://www.php.net/mysql_fetch_array -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.