what i meant by more information is:
what tables are you trying to access?
what data from the tables are your trying to return?
what if any relationships exists between the two tables for the returned data?
are you simply looking to pull apples and oranges with them having nothing in common? if so you'll just have to code another $sql query and resultant resource and work from there
type out what you want..
"i want all the details from the cars table and the latest record from the warranty table"
if those have no relation then you need two queries
now if you want all the details from the cars table relating to the latest warranty then that's a inner join query and can be done together