In article <[EMAIL PROTECTED]>, Jennifer Downey wrote:
> $b=mysql_query( SELECT * FROM my_table) <-----can I use something like this
> or do I have to put WHERE in the statement?
>

you only need a "WHERE" clause when you want to limit the result set from the 
query. If you want or need to retrieve all the rows in the data base, your 
"SELECT" statement is sufficient.
-- 
Rgds
Ralph



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to