PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
rileychilds
Forum Newbie
Posts: 14 Joined: Mon Feb 06, 2012 5:43 pm
Post
by rileychilds » Thu Mar 29, 2012 3:52 pm
So I have a Checkout page right now basicly it looks like this (yes i know it looks sloppy)-
Code: Select all
<?php
require_once('auth.php');
?>
<h1>Checkout Page</h1>
<?php
$pagename = "Checkout";
include 'connect.php';
?>
<html>
<?php
//form processing stuff nothing spical
//displays errors if any
<form action="#" method="post">
12 Digit Bar Code: <input name="barcode" type="text" size="12" value="12 Digit Bar Code"/><br>
12 Digit Patron Code:<input name="patron-code" type="text" size="12" value="Patron Code"/><br>
<input type="submit" value="Checkout"/>
</form>
I am trying to make it dynamic with a page where you have to enter you student ID before you check out and when you leave a feild it adds a new one and validates the new one
Celauran
Moderator
Posts: 6427 Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada
Post
by Celauran » Thu Mar 29, 2012 3:54 pm
I don't see anything in the code above. What have you tried? Where are you running into trouble?
rileychilds
Forum Newbie
Posts: 14 Joined: Mon Feb 06, 2012 5:43 pm
Post
by rileychilds » Thu Mar 29, 2012 4:02 pm
I don't understand how to do it i've looked around but don't understand it, does anyone know any good articles on this topic?