Re: [PHP-DB] $vars to JS in a linked js page.

2001-03-29 Thread Russ Michell
Not too sure if this is what you want, if not - I'm sorry: >$some_number = $mysql_num_rows() sizeof() This counts the number of elements in an array..(Just wipped that outta the open page in "PHP Fast and Easy"!) Russ #---#

Re: [PHP-DB] $vars to JS in a linked js page.

2001-03-29 Thread Phil Jackson
I think your only choices are to put this value into either a database or if you are using php4 - to use a session varible - or use a cookie if you are trying to persist this value across multiple pages for multiple users...or pass as a querystring to the next page.. or as a hidden form variable i