SELECT
tbl_vehicle.vehicleStock as Stock1,
tbl_vehicle.vehicleMake,
tbl_vehicle.vehicleModel,
tbl_vehicl.vehicleCondition,
tbl_images.vehicleStock as Stock2,
tbl_images.vehicleImage
FROM tbl_vehicle, tbl_images
WHERE tbl_vehicle.vehicleStock = tbl_images.vehicleStock
AND tbl_vehicle.vehicleCondition = 'trade'
But I get this error:
Error Executing Database Query.
No value given for one or more required parameters.
I just modified the query to this for the time being to see
if I could see the dump. I have not referenced the vehicleStock in
any cfoutput tag yet. The following URL shows the dump. I know the
query won't work, but I had to do something to get the cfdump to
display.
http://www.buysmp.ca/tradein.cfm
SELECT tbl_vehicle.*, tbl_images.*
FROM tbl_vehicle, tbl_images
WHERE tbl_vehicle.vehicleStock = tbl_images.vehicleStock
AND tbl_vehicle.vehicleCondition = 'trade'