Search found 7 matches

by nineseveninteractive
Thu Jul 12, 2007 4:30 pm
Forum: PHP - Code
Topic: problems with an array
Replies: 2
Views: 201

problems with an array

hi i'm having a problem with the search function on the following site http://www.jasonmillward.com basically when you use the drop to perform a search it all works fine and pulls the correct results from the database expect when you do a search for the first term in the array - in this case hotel /...
by nineseveninteractive
Sun Jul 01, 2007 5:33 am
Forum: PHP - Code
Topic: creating a search function
Replies: 13
Views: 868

Hi Thank you for the replies. I have the database set up and the site is working, the only thing i have left to do on it is create this search feature. What is the correct term for this type of search? I am searching the web for "php drop down list search" and various other similar search ...
by nineseveninteractive
Thu Jun 28, 2007 2:26 pm
Forum: PHP - Code
Topic: creating a search function
Replies: 13
Views: 868

creating a search function

Hi I need to create a search function for a recruitment company website that allows the user to select from one drop down box whether the job is permanent, temporary or search all jobs and from that select the job category. i have tried looking for tutorials on the web but cant find anything. Would ...
by nineseveninteractive
Thu Jun 28, 2007 5:10 am
Forum: PHP - Code
Topic: deleting database entries problems!
Replies: 12
Views: 1201

i've got this fixed now, so thanks for all the help. :lol:
by nineseveninteractive
Tue Jun 26, 2007 4:10 pm
Forum: PHP - Code
Topic: deleting database entries problems!
Replies: 12
Views: 1201

the $id would relate to the car_id field in the database which in the case of a test entry i am using is 187. would the source of $id not be provided from the database connection or will i have to pull this thorugh with the the deleteVehicle function? i am able to update the fields for $id but i jus...
by nineseveninteractive
Tue Jun 26, 2007 2:50 pm
Forum: PHP - Code
Topic: deleting database entries problems!
Replies: 12
Views: 1201

Thanks for the replies. Its very much appreciated. I put the code in above and got the error: Notice: Undefined variable: id in /home/sites/nidd-recruitment.com/public_html/admin/index.php on line 211 Debug: DELETE FROM site_cars WHERE site_cars.car_id = '' Debug: 0 affected row(s) so does this mean...
by nineseveninteractive
Mon Jun 25, 2007 6:18 pm
Forum: PHP - Code
Topic: deleting database entries problems!
Replies: 12
Views: 1201

deleting database entries problems!

Hi I am having problems deleting entries from a database using the following code case "deletevehicle": // Delete the vehicle from the database. $deletevehicle = deleteVehicle($id); // Return to the vehicle list. $vehiclelist = selectSiteCars(0); $message = "Vacancy Deleted!"; $t...