close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

UpdateGoTo not picking up ID from a recordset - only affecting one form?

Thread began 10/24/2016 10:16 am by Nathon Jones Web Design | Last modified 10/24/2016 10:22 pm by Nathon Jones Web Design | 927 views | 4 replies

Nathon Jones Web Design

UpdateGoTo not picking up ID from a recordset - only affecting one form?

I'm trying to redirect to a page on my site after an UPDATE, carrying over an ID so that I can dynamically show data once the MySQLi UPDATE form has been submitted:

$UpdateGoTo = "patient-view.php?pID=".$rsPATIENT->getColumnVal("PFpatientID")."";



When I get to the patient-view.php page, the URL is simply:
patient-view.php?pID=

So, it's not picking up the ID for some reason.

On my UPDATE page I am using that ID to filter a table from my database in a recordset called rsPATIENT, and I can display data from that table on the UPDATE page so the PFpatientID is absolutely available. So why isn't it carrying over once the UPDATE form has been submitted?

Worse still, I have another edit form on this site, using the same tables and recordsets, and it carries over just perfect, it's UpdateGoTo reference being exactly the same as this one. Aarrrggh.

I think this is a case of me going insane again but I attach the page in the hope that someone can spot the typo that I've spent 48 hours screaming at without seeing so far. I just can't see it. :(

Thank you
NJ

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