Ask a Question related to PHP Development, Design and Development.
-
Trevor Kearsey #1
another simple question.
select from db where id = 3...
if it doesn't exist, how can i display a message saying so.
for example:
"3" is not a valid selection.
make sense?
thanks.
Trevor Kearsey Guest
-
Need Simple Answer to Simple Contribute/Firefox question
Hello all; I've tried the Adobe help in CS3, tech support, phone support, this forum, other forums, Mozilla, and nowhere can I get a straight... -
simple question
Hi there, As an absolute beginner I have a simple question. I have a scene with two layers. Layer 1 should start again at frame 1 while Layer 2... -
SImple question?
Can anyone please tell me how to keep 2 windows open so that as soon as I click on one of them, the other one does not minimise and have to be... -
simple question but want help.....
Hi, I got a ASP problem wanna ask.... Sql_check = "select * from user_table where user_id =' " & user & " ' " Set Rs_check =... -
A simple question but ..
Hi Can someone give me a link where i can see (and do it my self) how to create a shape tweening? (Flash MX) Yes i am a newbie but want to learn... -
Shawn Wilson #2
Re: another simple question.
Trevor Kearsey wrote:
$res = mysql_query("select from db where id = 3");>
> select from db where id = 3...
>
> if it doesn't exist, how can i display a message saying so.
>
> for example:
>
> "3" is not a valid selection.
if (!$res)
echo "ERROR" . mysql_error();
elseif (mysql_num_rows($res) == 0)
echo "No results from search";
else
echo "Results were returned from search.";
Shawn
--
Shawn Wilson
[email]shawn@glassgiant.com[/email]
[url]http://www.glassgiant.com[/url]
Shawn Wilson Guest



Reply With Quote

