close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Dynamic linking with parameters

Thread began 1/08/2013 8:00 am by john70964 | Last modified 1/09/2013 9:07 am by Jason Byrnes | 1817 views | 8 replies |

john70964

Dynamic linking with parameters

Hello
I have a Page1.php page with a 200 pix image
I have a page2.php with a large image

I want to create a link from Page1 to page2 to link to and have a (large) image that shows on page2

After creating the link from page1 to page2 I then click on parameters.

In Parameters Name column I selected the RecordID (RecNo)
In the Parameters Value column I select the Image column.

When page2 opens the url which shows is:
/page2.php?10037=BoatImages/036.jpg

but the image does not show.
I think most likely I have the parameters wrong.

I wondered if there is a tutorial about this type of linking
Many thanks

John

Sign in to reply to this post

john70964

Perhaps this attached images may make this clearer

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the pages please so i can see the code.

Sign in to reply to this post

john70964

zips atttached

Attached Files
Zipped files.zip
Sign in to reply to this post

Jason ByrnesWebAssist

on the largepic page, set the recordset to filter the RecNo column using the RecNo URL variable that is passed in the link.

Sign in to reply to this post

john70964

Thanks Jason
That was correct however I had to create 2 new pages before I could get it to work. I have noticed this previously since I have had CS6. Is this something to be expected?
Regards

John

Sign in to reply to this post

Jason ByrnesWebAssist

something may have become corrupted in the original pages causing it to not work, hard to say.

Sign in to reply to this post

john70964

Just for info,

I deleted a recordset but had to remove a chunk of code left in by the removal before another recordset would work.
Regards

John

Sign in to reply to this post

Jason ByrnesWebAssist

Dreamweaver can sometimes leave code behind when removing recordsets.

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