Dear my friends...
I want to make an alert which can display a value from the database. I am meaning : how can I pass a value of a variable from PHP into JavaScript alert ( alert("$Firstname, $LastName and $Address");
Is it possible?
Sure. Probably the easiest way I can think to do it would be to create the JavaScript function as a string and insert your variables into that string. Then print() the string.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php