Jump to content

Recommended Posts

I have to display 4 images in a table. The images are held in a directory structure that goes like this:

 

franchises\franchise_id_1\lotImages\dealer_id_1\lot_id_1\wheelFL.jpeg Each 1 is actually a variable that comes from the database and depends on what dealer and franchise is logged in.

 

Here is how I would write it: I can only assume it is not the proper way to do it. Any suggestions on the proper way to write something like this?

 

<?php
echo("<tr><td> $run['vinNumber'] </td><td> $run['carYear']  $nbsp; $run['carModel'] </td><td><img src='franchises/franchise_id_."$franchise_id"./lotImages/dealer_id_."$dealer_id"./lot_id."$run['id']".wheelFL.jpeg'></td></tr>");
?>

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.