Php & Mysql

SpaceshipSpaceship
Watch

slee

Established Member
Impact
0
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!!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
 
0
•••
thanks for the help i need to learn the basics first im a total novice
:)
 
0
•••
np i only started about 3 months ago

already got a school web bassed register 90% complete
 
0
•••
is it interesting to learn php and mysql
 
0
•••
yeah, and easy too!

-Steve:D
 
0
•••
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. :)
 
0
•••
0
•••
talking about digging up the archives lol
 
0
•••
Oh - geez just saw that :lol:
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back