Monthly Archives: May 2009

PHP Tutorial : Get line number

As you might know, PHP Server comes with built-in / already defined constants. Today I’ve been discovering a nice one which gets the line number in a file for you. This may be very usefull in a lot of cases, … Continue reading

Posted in Usefull PHP | Tagged , , , , , | Leave a comment

Link to us

Do you enjoy our content? Did you learned something from out PHP Tutorials? If you feel you want to help us and other to learn php, please link to us : 1) simple text link <a href="http://www.crivionweb.com/phpblog/">PHP Tutorials</a> 2) small … Continue reading

Posted in Link to us | Tagged | Leave a comment

PHP Tutorial : String lenght with strlen

I’ll be directly on this short one. Shame on me that I didn’t writed about this untill now : there’s an interesting php function which you might need frequently called strlen() which translates into string lenght. I’m sure you met … Continue reading

Posted in Basic PHP | Tagged , , , , , | Leave a comment

PHP Tutorial : If condition in the short way (shorthand if)

Do you know basical php if() condition right? But, my questions is : do you know the short way? If not, I will show you the diferrence,: <?php $a=1; $b=3; $c = $a+$b; //THE SHORT WAY COMES print $c == … Continue reading

Posted in Basic PHP | Tagged , , , , , | 2 Comments

PHP Tutorial : Extract function

A shame for me but I must tell you this function called extract() simply rocks : it will extract “keys” from an array and convert them into variables, so no more needed to manually declare variables for validation purposes from … Continue reading

Posted in Usefull PHP | Tagged , , | 3 Comments

PHP Tutorial : Mysql Dump

Did you see this expression and doubt what it means? Mysql Dumps are files in different extensions/formats like .sql, .txt etc. which are used to store databases informations, table structures, mysql tables creations, table datas/entries and more. The mysql dumps … Continue reading

Posted in Php & MySQL | Tagged , , | Leave a comment

PHP Tutorial : Extracting rows from mysql

Helllooooooo, In latest two posts I have shown you how to connect to a mysql database via PHP, and in another one I teach you how to select rows from a mysql database table. In this one I will show … Continue reading

Posted in Php & MySQL | Tagged , , , , , , , , , | 2 Comments

PHP Tutorial : Building a MySQL query

In a recent tutorial I was showing you how to build a connection to MySQL database via PHP. In this one I will show you how to create a query to interogate a table of the database. Look below : … Continue reading

Posted in Php & MySQL | Tagged , , , , , , | 2 Comments