PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Mon Oct 20, 2003 6:39 pm
No, that's the code that produces the url. What does the actual url look like in your browser?
Oh, and look at the <br /> bit in my die() paste against yours to see the difference.
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Mon Oct 20, 2003 6:44 pm
That's the problem. Change
Code: Select all
<a href="jobdetail.php?id=$row_Jobs['jobID']">
to
Code: Select all
<a href="jobdetail.php?id=<?php echo $row_Jobs['jobID'] ?>">
The > should be a > but i'm struggling to get the forum to recognise the php tags
monkeynme
Forum Commoner
Posts: 28 Joined: Thu Aug 14, 2003 3:18 pm
Location: Colorado Springs, CO
Post
by monkeynme » Mon Oct 20, 2003 6:48 pm
OK, I changed it to:
<a href="jobdetail.php?id=<?php echo $row_Jobs['jobID'] ?>"></a>
and ended up losing my Job ID field altogether.
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Mon Oct 20, 2003 6:51 pm
Yeah, because you didn't but anything in between the <a href=""> and </a>
<a href="jobdetail.php?id=<?php echo $row_Jobs['jobID'] ?>">job details</a>
monkeynme
Forum Commoner
Posts: 28 Joined: Thu Aug 14, 2003 3:18 pm
Location: Colorado Springs, CO
Post
by monkeynme » Mon Oct 20, 2003 6:52 pm
Ok, I'll have to try it tomorrow. Thank you for helping me this this issue. Unfortunately i have to go pick up my daughter from school before they fine me for being late. UUGGGHHH! So I'll pick this up first thing tomorrow!
monkeynme
Forum Commoner
Posts: 28 Joined: Thu Aug 14, 2003 3:18 pm
Location: Colorado Springs, CO
Post
by monkeynme » Tue Oct 21, 2003 9:52 am
OH YES! It worked, it worked! I can go in peace now...until the next problem. Thanks a bunch markl999!