Refusing webOS, Hewlett-Packard still try again to prove itself in the promising market of tablets and smartphones. According to ReadWrite, soon American manufacturer announced one of the first Android-tablet hardware platform NVIDIA Tegra 4. As reported ReadWrite, the corporation is considering the smartphones running Android. The final decision is still pending and if HP still(…)
Last June 8, Robert Eisele launched a new forked PHP version that he derived from PHP 5.3.6. It is the result of merging several changes that he wanted to make to PHP, on which he has been working for the last 3 years. This PHP fork version code is available on GitHub for anybody to download or even fork(…)
1. if The if statement evaluates an expression. If that expression is true, then a statement is executed. If an else clause is given and if the expression is false, then the else’s statement is executed. Syntax: if( expression ) statement1; or if( expression ) statement1; else statement2 ; Examples: if(loop<3) counter++; if(x==y) x++; else(…)
Current DateTime to be inserted into the database? It’s Easy!!!!!!! 🙂 <?php $date=date(‘Y-m-d H:i:s’); $sql=”insert into register(fname,lname,status,date) values(‘$fname’,’$lname’,’$status’,’$date‘)”; mysql_query($sql); ?>
I was tired of encountering the following error when I was working on one of my PHP project Cannot modify header information – headers already sent by (output started at……. I did resolve it after all, the thing I was doing wrong was that I had left a lot of blank lines & spaces between(…)
To simply just send an email with subject & message you just need to use the following code mail($to,$subject,$message,$headers); where $headers = ‘MIME-Version: 1.0’ . “\r\n”; $headers .= ‘Content-type: text/html; charset=iso-8859-1’ . “\r\n”; $headers .= ‘From: Me <firstname.lastname@example.org>’ . “\r\n”; $headers .= ‘Cc: email@example.com’ . “\r\n”; $headers .= ‘Bcc: firstname.lastname@example.org’ . “\r\n”; You need to change the ini settings for the mail setting in the PHP.ini file [mail function] ; For Win32 only. SMTP = localhost //change this to your(…)
Warning: require_once(../config.php) [function.require-once]: failed to open stream: No such file or directory in<path of website>\wwwroot\library\category-functions.php on line 2 Fatal error: require_once() [function.require]: Failed opening required ‘../config.php’ (include_path=’.;C:\PHP-Pear\pear’) in <path of website>\wwwroot\library\category-functions.php on line 2 Finding a solution. will get back on this shortly!!
Yes ofcourse that was the big question when I got interested in PHP. The whats & how was troubling alot.Now I kinda know PHP – Still learning but that is always PHP steps to understanding Section 1 Formulation of a Plan of Project what site, content, target audience, reason of making site, functions, uniqueness, extent,(…)