Ultrashock Forums > Flash > Data Communication
[PHP] Modify query result

You are currently viewing our website as a guest which gives you limited access to forums, files and other resources.

Click here to join now for free, and start interacting with our members, download files and much more!

Click here if you are looking for our Flash files and other professional assets.
 
Post Reply | View first unread | Rate Thread Search this Thread | Thread Tools | Display Modes

#1
Bookmark and Share!
[PHP] Modify query result
Old 2009-01-16

Hi guys,
I've this php code

HTML Code:
$sql = "SELECT * " .
         "FROM tracks " .
         "WHERE re_id = " . $id . " " .
         "ORDER BY id_tr ASC";

$query = mysql_query($sql) or trigger_error("Error executing query: " . mysql_error());

return $query;
I want to add a field to every row in $query result without modifying it's structure.
How can I do?

Cheers
postbit arrow Be the first to comment! | 683 views postbit arrow Reply: with Quote   
Registered User
r_bartoli is offline
seperator
Posts: 453
2004-07-28
Age: 27
r_bartoli lives in Italy
seperator
Thread Tools
Display Modes Rate This Thread
Rate This Thread: