Jump to content

php script soz im a beginner


powW

Recommended Posts

Err.. you have in your site root Dulton_Webpage, but you're using 'Dulton Webpage'. I'm guessing you renamed the folder after the suggestion to not have spaces, so if apache is running, just click on this link http://localhost/Dulton_Webpage/ and add the rest of the path to where your php file is located.


The Date you require is : 
Notice: Undefined index: Date_Required in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 12


Your Title is : 
Notice: Undefined index: Title in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 16


Your forename is : 
Notice: Undefined index: Forename in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 20


Your surname is : 
Notice: Undefined index: Surname in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 24


Your Email address is : 
Notice: Undefined index: Email_address_of_person_applying_for_tickets in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 28


Details of Student

Your Childs forename is: 
Notice: Undefined index: Forename_Of_Student_attending_Dulton_School in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 34

Your Childs Surname is : 
Notice: Undefined index: Surname_Of_Student_attending_Dulton_School in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 38


Your child attends class : 
Notice: Undefined index: Class in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 42


The number of Adult tickets you require are: 
Notice: Undefined index: Number_Of_Adult_Tickets in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 46


The number of Student tickets you require are : 
Notice: Undefined index: Number_Of_Student_Tickets in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 50


The number of OAP tickets you require are : 
Notice: Undefined index: Number_Of_OAP_Tickets in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 56


Your method of payment is : 
Notice: Undefined index: Method of Payment (Cash or Cheque) in C:\xampp\htdocs\Dulton_Webpage\Ticket_request\Confirmation_Page.php on line 62

 

That's what came up :s

 

 

Edit: Oh do you mean on dreamweaver?

Link to comment
Share on other sites

No, you did fine. Did you submit the form to this page or just access it directly? Sorry, I think I confused you. You need to access the form first then submit it. Just remember to use the same prefix (http://localhost/Dulton_Webpage/) as you just did.

 

OMFG!"£"$£"!% It works!!!!

Thank you soo Much!!!

 

 

Thank you to everyone who tried to help me as well (Pikachu2000)

 

 

But w8 will I have to go through this directory everytime?

Link to comment
Share on other sites

PHP must be parsed by the php interpreter, and for that to happen the file has to be served by the webserver. If the URL doesn't start with http://, the webserver isn't serving the file. So, yes, anytime you test a file, you need to access it that way, not using File ---> Open, or typing file:/// in the browser.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.