User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 331,802 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,026 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 127 | Replies: 2
Reply
Join Date: Mar 2008
Posts: 63
Reputation: sukhy_1 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 3
sukhy_1 sukhy_1 is offline Offline
Junior Poster in Training

can someone sort this code this code out plz

  #1  
Mar 27th, 2008
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
Attached Files
File Type: php book.php (4.5 KB, 4 views)
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2006
Location: homeworkhelp.co.in
Posts: 727
Reputation: ithelp is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 55
ithelp ithelp is offline Offline
Master Poster

Re: can someone sort this code this code out plz

  #2  
Mar 28th, 2008
  1. $connection = mysql_connect("", "", "");
What is this line supposed to do, connect to what database ?
Reply With Quote  
Join Date: Mar 2008
Posts: 63
Reputation: sukhy_1 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 3
sukhy_1 sukhy_1 is offline Offline
Junior Poster in Training

Re: can someone sort this code this code out plz

  #3  
Mar 28th, 2008
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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Marketplace (Sponsored Links)
Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 7:04 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC