Basics Of PHP

Started with making some basic programs in PHP using loops,arrays and basic conditional statements.
Learned about the concept of functions in PHP and some predefined functions in PHP and built in string functions of PHP like strtoupper(),strtolower(),strtotime(),Ucword(),Ucfirst().

Then we learnt about the PHP database functions. These functions provide access to the MySQL database. The most important ones are the :

  • $db = mysql_connect($dbms_location)
  • mysql_select_db($db_name, $db)
  • $result = mysql_query($sql, $db)
  • mysql_error()
  • mysql_num_rows($result)
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s