Acmlm's Board - I2 Archive - Programming - Bit of php trouble.
User | Post |
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. |
|