close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Image link connects to wrong record

Thread began 10/06/2016 8:38 am by john70964 | Last modified 10/07/2016 2:58 pm by Ray Borduin | 381 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

Sign in to reply to this post

john70964

I notice the detail page only has the following code
<p><img src="../BoatImages/<?php echo $row_rsCanal['image1_900']; ?>"></p>
<p><?php echo $row_rsCanal['RecNo']; ?> </p>
Perhaps this is incorrect?

Sign in to reply to this post

Ray BorduinWebAssist

The link that works goes to: Cat_canal_detail.php

The one that doesn't goes to: Cat_canal_detail2.php

The issue is probably with the page and not the link. The links are fine.

Sign in to reply to this post

john70964

Thanks for the clues Ray

I will look into the link/page further making sure I am dealing with the same detail page!
Cheers
John

Sign in to reply to this post

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...