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

rating

Header already send "webassist/mysqli/queryobj.php on line 687"

Thread began 4/18/2021 1:10 am by Jess | Last modified 4/22/2021 8:20 am by Ray Borduin | 29 views | 2 replies |

Jess

Header already send "webassist/mysqli/queryobj.php on line 687"

Hi.

I keep getting errors when trying to post to my table and I have to encrypt part of the values send and beeing able to decrypt them.

For this purpose I have found the following: https://a1websitepro.com/best-php-encryption-decryption-mysql-tutorial-proactive-methods/

I keep getting this error no matter what I change and how I set the file up.
Link to site: https://amager.skyttesystem.dk/Admin/UserAdm/test2.php

Warning: Cannot modify header information - headers already sent by (output started at /home/skyttesystem/amager.skyttesystem.dk/Admin/UserAdm/test2.php:3) in /home/skyttesystem/amager.skyttesystem.dk/webassist/mysqli/queryobj.php on line 687

For future development (just a suggestion) when setting up mysqli insert / record set it would be nice to have encrypt with (keys you can set elsewhere) to make sure GDPR and such standards could be followed and also easier to use. No complaints, just suggestions and maybe a few video guides on how this can be done. :-)

Hope someone can help with this.

Best Regards
Jess

Sign in to reply to this post

Ray BorduinWebAssist

Your insert and redirect code is below the <html> tag... That won't work in php. You need to redirect before the page starts loading. Just move that code up above the <html> tag and this error should go away.

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

Jess

Hi Ray

Thanks for the support. Very much the correct answer.. I keept missing it.

Best Regards
Jess

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