Page 2 of 2

Posted: Mon Oct 20, 2003 6:39 pm
by markl999
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.

Posted: Mon Oct 20, 2003 6:41 pm
by monkeynme
Oh...

when i click on a job in the list it produces the following URL in the address bar:

http://eellctest/jobdetail.php?id=$row_Jobs['jobID']

Posted: Mon Oct 20, 2003 6:44 pm
by markl999
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 ;)

Posted: Mon Oct 20, 2003 6:48 pm
by monkeynme
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.

Posted: Mon Oct 20, 2003 6:51 pm
by markl999
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>

Posted: Mon Oct 20, 2003 6:52 pm
by monkeynme
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! :)

Posted: Tue Oct 21, 2003 9:52 am
by monkeynme
OH YES! It worked, it worked! I can go in peace now...until the next problem. Thanks a bunch markl999! :)