DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   PHP (http://www.daniweb.com/forums/forum17.html)
-   -   can someone sort this code this code out plz (http://www.daniweb.com/forums/thread115998.html)

sukhy_1 Mar 27th, 2008 3:41 pm
can someone sort this code this code out plz
 
1 Attachment(s)
Hello people i need some help, ive got all the code but having problems making it work.
The webpage which i am creating allows the user to select day and time and when they click search it displays the results and i want the user to be able to select up2 3 bookings ive used checkboxes and got all the code but it dont work i been doing it for abt 2weeks and cant get it to work.

i have used checkboxes in the loop so when a user see's the results the textboxes appear next to it. i dont understand how to insert the selected dates during the while loop so someone please help i have a deadline on saturday.

The file is attached so if anybody could put the code in the right places by the way i am new to php Thank u

ithelp Mar 28th, 2008 5:19 am
Re: can someone sort this code this code out plz
 
  1. $connection = mysql_connect("", "", "");
What is this line supposed to do, connect to what database ?

sukhy_1 Mar 28th, 2008 6:14 am
Re: can someone sort this code this code out plz
 
yes thats meant to connect to database thats all working ive just taken the connection out has its got username and password. its just im having trouble with inserting the while loop results into the database ive used id and checkboxes which show next to each search output cheers


All times are GMT -4. The time now is 5:10 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC