View Full Version : alert popup?
03-20-2003, 02:37 AM
I read of an alert, but my question is that I query a db to find out if a value exists or not, if it does then do nothing. If it doesn't I want an alert or popup thing to warn the user that there are no values stored in the db for some value. Does that make sense? Can I do it?
03-20-2003, 02:52 AM
Once your query or whatever is done and you have a variable set up just for that value then:
$variable = //value from database
echo "alert('It was there')";
03-20-2003, 03:00 AM
thanks, worked beautifully.....
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.