close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Query String issue with DA and Framework

Thread began 8/17/2015 8:45 am by codamedia | Last modified 8/17/2015 5:00 pm by Ray Borduin | 1084 views | 4 replies |

codamedia

Query String issue with DA and Framework

Building an admin area with includes and database is causing some grief. Most I can overcome, but one issue is plaguing me.

Because I use Framework, my URL becomes ....
index.php?page=cyiLocUpdate (NOTE: page= is now the first part of the query)

All links and redirects with DataAssist pages set the query ID to use ? but since it isn't the first, it should be using &.
EG: index.php?page=cyiLocUpdate?id_loc=1
should be: index.php?page=cyiLocUpdate&id_loc=1

Where do I make that change on a DataAssist page? I thought I found it, but anything I try just results in PHP errors.

Sign in to reply to this post

Ray BorduinWebAssist

Can you send a sample page. I'll take a look.

Sign in to reply to this post
Did this help? Tips are appreciated...

codamedia

hi Ray, I'm attaching three files for you to view.
A results page, an insert and an update.

Sign in to reply to this post

Ray BorduinWebAssist

I see the bad code right on the page... for instance on the insert page on line 28 it has:
$WA_redirectURL = "../index.php?page=cyiLocDetail?id_loc=[Insert_ID]";

where it should be:
$WA_redirectURL = "../index.php?page=cyiLocDetail&id_loc=[Insert_ID]";

I'd just go through and manually make the corrections to the redirect page values at this point.

Sign in to reply to this post
Did this help? Tips are appreciated...

codamedia

Yes - that is obvious isn't it :)
I hadn't had a problem converting these in the past... not sure how I missed this.

Thanks Ray...

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