Qucik MYSQL PHP Tips ( IN CLAUSE)
MYSQL 4 does not allow IN (Select ...) .So what you do is execute a query , generate a long set of values in then execute the query .
Cavet : SQL buffer can over flow
MYSQL Supports ( Select ..... in ( .... ) )
| Life, Apps, Android, iPhone, iPad, Project Management, Ruby On Rails,PHP,Java
$var = 10;
// Evaluates to true because $var is empty
if (empty($var)) {
echo '$var is either 0, empty, or not set at all';
}
?>
Currently, Sun is responsible for the reference implementation, which will work with any standard servlet container. They also support JSF in their recently announced NetBeans-based rapid application development tool, Java Studio Creator. Creator 1.0 was recently released at JavaOne in June of 2004.
Sun isn't the only member of the expert group, though. It includes key IDE and J2EE vendors, including IBM, Borland, BEA, Macromedia, Apache Software Foundation, Oracle, and many others. Oracle has announced support for JSF in an upcoming version of JDeveloper. Borland has also announced support, and IBM has also added full support for JSF 1.0 to WebSphere Studio 5.1.2, which is currently available. Most of the other members have made their intentions of supporting JSF known. To keep up with the latest JSF products, check out the products page or subscribe to the products RSS feed.
The crypt function lets you encrypt text
here is how
= crypt('mypassword'); // let the salt be automatically generated
// do this to encrypt the password
//use $password in your (insert into.......) code
}
?>
For retrieval
if (crypt($_REQUEST['pass'], $password) == $password) {
echo "Password verified!";
Step 1: | Purchase a Zend PHP Certification Voucher |
Step 2: | Schedule to take the exam at one of 3500+ testing centers. |
Step 3: | Study for the exam using the Zend PHP Certification Study Guide, Zend PHP Certification Practice Test Book, or get a bit of extra help with the Certification Preparation Online Course. |
Step 4: | Pass the exam! Your name and credentials will now be published in the Yellow Pages for PHP Professionals. Download the ZCE Logo and add it to your resume and link it to your ZCE Authentication Page from your Website. |
set_time_limit(0);
or
set_time_limit(x);
where x is your needed time out !
Yes its that simple