Recent Articles
Instructions on how to create some basic queries and inserts are here. At the completion of this tutorial you will be able create a page which will let people create usernames and passwords. First create a new .php file. You’ll need to create a basic form which posts to itself. The form needs to have 2 input text fields named “username”... [Read more]
Now we’re going to add in some functionality to your php. We’ll make a form which checks a person’s age then either redirects them to a different page, or displays an error message. First off is some html code for a form, the form will send via post method one variable for age. <form method=”post”>Age <input name=”age”... [Read more]
Now that you know how to use if then statements lets move on to a basic loop. Lets get started by opening your favorite editor and starting a fresh source page. Start off with the basic coding which denotes a php area. <?php ?> Now lets add in a variable and an echo statement. Give one variable a value of 0 then echo it. <?php $x=0; echo... [Read more]
