This topic is locked

view that has colomns for "Edit" and "View". Rather than have a "View" Icon,

3/6/2012 1:42:33 AM
PHPRunner General questions
C
cgetty author

phprunner ver 6.0 Build 10638, using built in web server & hosted site.
I have a list view that has colomns for "Edit" and "View". Rather than have a "View" Icon, I would rather have one of the fields in the row be a link to view the record.
I tried to use this post as an example but I think I missed something, not working.
Here is what the table looks like, I user the Id_rec field.


This is where I put the code sample.


This is what the URL field shows in the browser.


A version of the project 6.0 is hosted at x10.bz.com .............at this address, phprunner seems to work well here.
Any help would be appreciated.
Thanks

Clark

J
Jane 3/6/2012

Hi,
you can use this code:

$value = "<a href=\"crg_bb1_view.php?editid1=".$value."\">".$value."</a>";