NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page php & mysql

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-27-2003, 08:11 AM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: May 2003
Posts: 74
slee is an unknown quantity at this point
 



php & mysql


hi all,

ive finally decided to go ahead and learn php with mysql. so here what i want to do:
as i learn most things better by setting my self a project i want to design a mini site a bit like www.autotrader.co.uk i want to have the cars so thay can be searched and so forth but not with all the other stuff does anyone have advice, tips scripts or anything that might help me?
i just want to do it with a few cars to start as i said this is just so i can learn how to do it. i also want to be able to search through liek they do on www.autotrader.co.uk if possible.
your help is appreciated!!
slee is offline  
Old 05-27-2003, 11:35 AM   #2 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
give each car an id

then have the mysql stuff in a far called car.php then use this

$sql = "SELECT * FROM `tablename` WHERE id = '$id'";

then car.php?id=3 will select the car with id 3 good if you wanna display info for a certain car
adam_uk is offline  
Old 05-27-2003, 04:32 PM THREAD STARTER               #3 (permalink)
NamePros Member
Join Date: May 2003
Posts: 74
slee is an unknown quantity at this point
 



thanks for the help i need to learn the basics first im a total novice
slee is offline  
Old 05-28-2003, 12:19 AM   #4 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
np i only started about 3 months ago

already got a school web bassed register 90% complete
adam_uk is offline  
Old 08-16-2005, 11:52 AM   #5 (permalink)
NamePros Regular
 
unknownz's Avatar
Join Date: Aug 2005
Posts: 727
unknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really nice
 



is it interesting to learn php and mysql
__________________
:laugh:...::::Pakisp.net::::...-The Entertainment Pack Pakisp.net :wave:
Free Web Directory
unknownz is offline  
Old 08-16-2005, 11:59 AM   #6 (permalink)
A Wealth of Knowledge
 
stscac's Avatar
Join Date: Aug 2004
Posts: 3,809
stscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud ofstscac has much to be proud of
 



yeah, and easy too!

-Steve
stscac is offline  
Old 08-16-2005, 12:12 PM   #7 (permalink)
Soon to be RICHdoggie!
 
PoorDoggie's Avatar
Join Date: Jan 2005
Location: UK
Posts: 2,408
PoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nicePoorDoggie is just really nice
 



php and mysql is interesting and useful.

What you want will probably be to "index" the mysql database in which you are storing your car information. Then you can do a mysql "fulltext" search. Look this up as I have not used it for a while. That is how you can do the search.
PoorDoggie is offline  
Old 08-16-2005, 02:56 PM   #8 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
Download this - it will help get you started!

http://www.vibewave.com/test/members

Click the "download here" link.

Cheers,
-Matt
mholt is offline  
Old 08-16-2005, 02:56 PM   #9 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
talking about digging up the archives lol
adam_uk is offline  
Old 08-16-2005, 02:57 PM   #10 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
Oh - geez just saw that
mholt is offline  
Closed Thread


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


Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:09 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger