Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

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

  1. Creating a pseudo-columns in the table based on other data   Reply  
Picture of Nicholas JONES
Nicholas JONES
2013-09-30 03:06:37
Hi,
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,
Nick