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. | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Sokarhacd

Ball and Chain Trooper
Resistance is Futile
You Will Be Assimilated
Hab SoSlI' Quch
Level: 61

Posts: 1301/1757
EXP: 1799888
For next: 76708

Since: 03-15-04

Since last post: 6 days
Last activity: 4 hours
Posted on 06-18-05 08:54 AM Link | Quote
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.


(edited by Darth Dcahren on 06-17-05 11:59 PM)
King_Killa

Koopa
Level: 15

Posts: 33/117
EXP: 15096
For next: 1288

Since: 06-13-05
From: Shangri-La

Since last post: 37 days
Last activity: 18 days
Posted on 06-18-05 06:24 PM Link | Quote
You cannot use ' and ' around a variable.
Sokarhacd

Ball and Chain Trooper
Resistance is Futile
You Will Be Assimilated
Hab SoSlI' Quch
Level: 61

Posts: 1302/1757
EXP: 1799888
For next: 76708

Since: 03-15-04

Since last post: 6 days
Last activity: 4 hours
Posted on 06-18-05 07:22 PM Link | Quote
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.


(edited by Darth Dcahren on 06-18-05 10:29 AM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
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.005 seconds.