Custom SQL Query In Page
-
Hi Guys,
Right, I need to make a few custom pages on my wordpress blog, where I can query some new database tables I have added to the database.
Basically I want to output on the first page, a list of car manufacturers (Audi, Alfa, Ford….) which links into another page which will show all the models of the selected manufacturer.
Now I have all this set up in two databases already, makes, and models.
So what would I use to connect to these tables in the database, and output the query’s im after.
I take it you wont use the usual
mysql_query("SELECT * FROM car_make ORDER BY make")
Thanks
James
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Custom SQL Query In Page’ is closed to new replies.