This topic is locked

print.php

10/27/2009 8:46:33 AM
PHPRunner General questions
F
futo author

hello,
i want to display on print.php page(table A) field_A, field_B, field_C from users table (Table B)
depending on user id.
i have stored all fields from users table into session variable, but i im not sure that this will work...
help.... thanks ......
Tomo

PHPRunner 5.1 2503

K
KevinMillican 10/27/2009



i want to display on print.php page(table A) field_A, field_B, field_C from users table (Table <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=44942&image=1&table=forumreplies' class='bbc_emoticon' alt='B)' />

depending on user id.
i have stored all fields from users table into session variable, but i im not sure that this will work...


You're trying to do things the hard way. You need to add the other tables in you want to show data from at the SQL query stage, and just flag the additional fields for printing only.

F
futo author 10/27/2009



You're trying to do things the hard way. You need to add the other tables in you want to show data from at the SQL query stage, and just flag the additional fields for printing only.


Thnks for reply,
i have try that option, on query designer i have add users table and mark fields that i need, on print page mark them, but...

there is one problem, i dont want to display thos additional fields in same row with records, i want to display on top of the page....

J
Jane 10/28/2009

Tomo,
just add custom event (Insert PHP code snippet option on the Visual Editor tab) on the print page and print all your session variables in this event.