close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Help needed with dynamic link

Thread began 3/10/2012 9:45 pm by sjones435326 | Last modified 3/12/2012 12:20 pm by Jason Byrnes | 754 views | 7 replies |

sjones435326

Help needed with dynamic link

I have a Customer I’m working for that would like “dated notes” for different tables.
I have created the two tables - COMPANIES - COMPANY_NOTES
the relational field is “customer_id”

The primary key for COMPANIES is customer_id
The primary key for COMPANY_NOTES is note_id (but it also contains customer_id)

I have used the DataAssist Wizard to create all of the pages for both tables

I wanted to just have a hyperlink from the companies_Detail.php that would use a dynamic hyperlink with the S_customer_id

company_notes_Results.php?S_customer_id= <?php echo $row_WADAcompanies['customer_id']; ?>

However that is not working because of the x.Search and y.Search variables it is expecting a URL like this “company_notes_Results.php?S_customer_id=5&Search.x=33&Search.y=4&Search=Search”

And some companies are going to have multiple notes on their account.

Does anyone have any suggestions to achieve a dated note system or can you help me correct the mess that I’m in now. Maybe I’m going about this wrong any suggestions would be appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

you only need to add the static variables along with the dynamic:

company_notes_Results.php?S_customer_id=<?php echo $row_WADAcompanies['customer_id']; ?>&Search.x=33&Search.y=4&Search=Search

Sign in to reply to this post

sjones435326

Jason, each search returns different values for the Search.x and Search.y example


company_notes_Results.php?S_customer_id=22&Search.x=42&Search.y=16&Search=Search

company_notes_Results.php?S_customer_id=5&Search.x=52&Search.y=11&Search=Search

I have the S_customer_id as dynamic but I don't know what the values of Search.x and Search.y are?

Now I have tested the URL just changing the S_customer_id and leaving the old values for Search.x and Search.y and it did not seem to affect the returned results by leaving those values.

Do the Values of Search.x and Search.y matter at all? or can I just type in any values?

Sign in to reply to this post

Jason ByrnesWebAssist

the values of search.x and search.y dont matter, they are the x and y coordinates of where the mouse clicked the submit button image.


can you send a copy of the company_notes_Results.php page so i can look at the code.

Sign in to reply to this post

sjones435326

Jason, where do you want me to send it to. When I try to post it I get the following error

The text that you have entered is too long (20639 characters). Please shorten it to 10000 characters long.

I'm new the the WebAssist family and not sure about where you want me to send it?

Sign in to reply to this post

Jason ByrnesWebAssist

compress the php file to a zip archive and attach the zip file please.

Sign in to reply to this post

sjones435326

Jason, I attached the zip file

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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