Published June 5th, 2007
in Code Bank.
1. Create the database and table (test | user)
2. Create the procedure. “new_proc” (I used EMS SQL Manager 2005)
CREATE PROCEDURE `new_proc`()
NOT DETERMINISTIC
CONTAINS SQL
SQL SECURITY INVOKER
COMMENT ''
SELECT * FROM `user`;
3. Setup your PHP code as follows:
Published May 8th, 2007
in Code Bank.
If used properly, alert messages guide a user to make the proper descicions on your site. Let it be the purchasing of a product or the task of enabling Javascript for full functionality. The problem is that most "styled" messages cause validation errors.