PHP Classes

Creating a pseudo-columns in the table based on other data

Recommend this page to a friend!

      DrasticTools  >  All threads  >  Creating a pseudo-columns in the...  >  (Un) Subscribe thread alerts  
Subject:Creating a pseudo-columns in the...
Summary:Adding text to column to create pseudo-column
Author:Nicholas JONES
Date:2013-09-30 03:06:37

  1. Creating a pseudo-columns in the...   Reply   Report abuse  
Nicholas JONES - 2013-09-30 03:06:37
I have an app that uploads pictures to a folder, named after the primary key reference in the database.
I have set a drastic data grid up that can display all the information from my database. Is there anyway to add another column that either displays the URL to the images on my server (i.e. takes the primary key and puts it in a string such as 'upload/<prKey>.jpg'. Or is it possible to have the image load (again by creating the path when the table is generated)?
Thanks for the help,