View Single Post
Old 12-23-2006, 06:28 PM  
amateurcanada
Confirmed User
 
amateurcanada's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 3,766
Quote:
Originally Posted by chonis View Post
Replace $modnum for $_GET['modnum'], I think that is your problem.
Hi there and thanks for the help, actually the variable itself is fine.. I am trying to load up the value within the program to display the model itself with the field ID

so modnum=1 would local database field with ID 1

$sql = "SELECT id, up_date, up_modelname, up_age, up_from, up_description, up_moviename, up_length, up_buyvideo, up_modelset, keywords FROM $upTable WHERE $modname=id ORDER BY up_date DESC";

now this would be the logical way, where modname=id but it doesnt load the value, just pulls the blank screen on me
__________________

be our partner - join nichepartners today
will.assum.producer @ AmateurCanada.com / icq: 30146166 / facebook.com/will.assum / #amateurcanada
amateurcanada is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook