PHP Classes

the addUser have some change with /** * Show error messag...

Recommend this page to a friend!

      Login Script  >  All threads  >  the addUser have some change with...  >  (Un) Subscribe thread alerts  
Subject:the addUser have some change with...
Summary:Package rating comment
Messages:1
Author:Florin Cocy
Date:2012-09-18 12:25:55
 

Florin Cocy rated this package as follows:

Utility: Sufficient
Consistency: Good
Examples: Good

  1. the addUser have some change with...   Reply   Report abuse  
Picture of Florin Cocy Florin Cocy - 2012-09-18 12:25:55
the addUser have some change with


/**
* Show error messages etc.
*/
function showMessage()
{
if (isset($_GET['msg'])){

if(is_numeric($_GET['msg']))
{
switch($_GET['msg'])
{
case 1: echo "Please fill both fields.";
break;

case 2: echo "User Added!";
break;

}
}

}
}





and the rest of script use <? and I replache it with <?php when open an php code secvence