This article is primarily for PHP programmers. Nevertheless, the basic idea is not unique to PHP and guided by basic understanding of OO ideas and SQL, anybody should be able to grab it.
PHP4 is packed with good features. One of the most popular is session variables. These are variables that persist throughout a session, as the user moves from page to page. Session variables are great holders of state information and other useful stuff.
To use session variables, call session_start() at the beginning of your web page, before your HTTP headers are sent. Then for every variable you want to keep alive for the duration of the session, store it in $_SESSION[$variable_name]. By default, the session handler will keep track of the session by using a cookie. You can save objects or arrays in session variables also (but be warned that this is buggy in some versions of PHP4).
In this tutorial I will teach you how using dreamweaver you can insert information into a PHP MySQL database. If you are having problems feel free to e-mail us, or post a message on the forum. If you like this Tutorial please click here to Digg us or add the tutorial to Del.icio.us
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.