Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Bit of php trouble.
  
User name:
Password:
Reply:
 

UserPost
Sokarhacd
Posts: 1302/1757
I dont know why I didnt see that before...thanks...had to do a little recoding on another part, but it works now...I should have realized that lol

edit: actually it doesnt work 100%...only the first link actually works when going to the page, but there is one with ID 2, and it doesnt..stupid thing.
King_Killa
Posts: 33/117
You cannot use ' and ' around a variable.
Sokarhacd
Posts: 1301/1757
if ($id == '$drevs[id]'){
$content= "
$drevs[id] - $drevs[title] - $drevs[game]
";

the only problem, is it doesnt recognize the ID...if I change that to an ID that does exist, it works, but im not 100% sure how I can get it to use an id from the database...I think thats way off, but I cant really think of anything else.
Acmlm's Board - I2 Archive - Programming - Bit of php trouble.


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.008 seconds.