Warlord
10-14-2004, 10:09 PM
I've been reading my book "PHP, fast and easy web development" by Julie C. Meloni, and I'm learning quite a bit, and I've rewritten a script to do what I want, but with one small problem..
I think I've found a way to seperate my links being pulled from the database into categories based on what company they fall under, but I just need to find the correct variable for the company.
Right now, I'm using $myrow['company']
But unfortunately that doesn't seem to be the correct variable, so the statement shows up false every time.
I've attached the file I'm using, could someone please take a look at it and help me find the correct variable to use with my and operators. After I figure out the correct variable, I think my script should work great.
Any ideas?
I think I've found a way to seperate my links being pulled from the database into categories based on what company they fall under, but I just need to find the correct variable for the company.
Right now, I'm using $myrow['company']
But unfortunately that doesn't seem to be the correct variable, so the statement shows up false every time.
I've attached the file I'm using, could someone please take a look at it and help me find the correct variable to use with my and operators. After I figure out the correct variable, I think my script should work great.
Any ideas?