Home > Programming > PHP Tutorial



MySQL PHP Tutorial

Sort Desciption:

This tutorial will try and explain in depth how to setup MySQL and PHP ... MySQL PHP Tutorial. If it isnt then you probably dont have the mysql.so ...



Content Inside:

MySQL PHP TutorialPage 1MySQL PHP TutorialFerry Boender1. IntroductionThe PHP scripting languages power truly comes to life when used in conjunction with a powerful database likeMySQL. User authentication guestbooks forums you name it and its probably easiest to do when using adatabase. This tutorial will try and explain in depth how to setup MySQL and PHP how you can get PHP toaccess data in the database and how you can effectively use that data in you webpages. It uses mostly exampleswhich are related to a forum. You can look at this forum and download its sourcecode from:forum (http://www.electricmonk.nl/data/projects/ small_programmings/forum.tar.gz)2. Setting up PHP and MySQLThis section does not go into the details on exactly how to setup PHP and MySQL just how to get MySQLworking from within PHP. So in order to follow this tutorial you should already have PHP and MySQL installedon your system.Got that? Okay. First of all youll have to be sure you can use phps MySQL features. How can you tell if youcan? Just create the following script:<?// phpinfo.phpphpinfo();>Put it somewhere in your serverpath (where it can be called from your browser) and point your browser to it.You should now get a page witch contains loads of information concerning PHP. If you do not get this info butsome kind of error instead theres probably something wrong with your PHP setup. Please check the properdocumentation from PHP to get further help on that topic.You should search the page for a section called mysql. It should probably have some information like this:MySQLMySQL support EnabledActive persistent links 0Active links...etc.Is it there? Okay youre all set. Proceed to the next section of this tutorial.1Page 2MySQL PHP TutorialIf it isnt then you probably dont have the mysql.so module installed and configured. You should check yourharddisk to see if a file called mysql.so exists somewhere on it. Its most probably somewhere in the/usr/lib/php4 directory. An easy (but unreliable ...

Source: www.electricmonk.nl


add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us
Search Terms:

 

Related Files

PHP Introduction

Filed under: Programming and PHP Tutorial
techniques used in PHP programming. Objectives. By the end of this course you will be able to:. Describe what PHP is and the ...

PHP MySQL Website Programming

Filed under: Programming and PHP Tutorial
PHP Classes (http://www.phpclasses.org/). A more general collection of PHP programming classes of varying quality often a useful to ...

Build Your Own Database Driven Website Using PHP & MySQL

Filed under: Programming and PHP Tutorial
new to you: the PHP scripting language and the MySQL relational database ...... tutorial on 146. two forms of 145. validating MIME types 205 ...

Network Programming

Filed under: Programming and PHP Tutorial
PHP Programming. 53. PHP Arrays. A very useful feature of PHP is the array ... PHP contains a zillion predefined functions to help you. programming ...

Advanced PHP Programming

Filed under: Programming and PHP Tutorial
Programming". A class constructor in PHP5 should be named. contstructor() .... php.ini. file:. After APD is installed you should enable it by setting the ...