close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Image link connects to wrong record

Thread began 10/06/2016 5:38 am by john70964 | Last modified 10/07/2016 11:58 am by john70964 | 1241 views | 3 replies

john70964

Image link connects to wrong record

Hello
I am trying to link from a list page to a Detail page with the link using an image.

On the list page I have a number of records each showing an image.

The first image selects the correct detail but subsequent images all select the same first record.

When I use a non image link as in
<a href="Cat_canal_detail.php?RecNo=<?php echo $row_rsCanal['RecNo']; ?>">
<?php echo $row_rsCanal['RecNo']; ?></a><br> the link works fine.

The link not working is
<a href="Cat_canal_detail2.php?RecNo=<?php echo $row_rsCanal['RecNo']; ?>"><img src="../BoatImages/<?php echo $row_rsCanal['image1_900']; ?>"></a>

&nbsp;&nbsp;Record No:&nbsp;&nbsp;

<a href="Cat_canal_detail.php?RecNo=<?php echo $row_rsCanal['RecNo']; ?>">
<?php echo $row_rsCanal['RecNo']; ?></a>

Can anyone see why the link does not work please?
Many Thanks
John

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...