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

conditional Insert and Update

Thread began 2/19/2020 3:48 pm by Jose | Last modified 2/19/2020 8:24 pm by Ray Borduin | 38 views | 5 replies |

Jose

conditional Insert and Update

Hi there, I'm wondering why a Conditional Insert or update that work properly in localhost do not work in a live server ?
This work properly till one point. for example, I have 6 input type text but if I add one more it goes empty on update. If it's inserting then it stops working. But it works in localhost.

Sign in to reply to this post

Ray BorduinWebAssist

It could be a difference in the database table. Maybe missing columns or bad credentials on the live version.

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

Jose

There is no difference in database table and I use Firefox and live version of php the same. It should work but once I submit it nothing go to that field. I will attach the php file and database configuration once I get home.

Sign in to reply to this post

Jose

Here is an attach.
updatelocale.php is not updating url_rewrite field in database and addlocale.php is not submitting the form.

Attached Files
addlocale.php
tbl_locale_lang.sql
updatelocale.php
Sign in to reply to this post

Ray BorduinWebAssist

It might be an issue with the live server settings for:

max_input_vars
or
post_max_size

Since you are using a repeated form it might be hitting limits for those field values.

Use this to check the value on both the localhost and live server:
<?php
phpinfo();
?>

It is possible the limit is different and that is why it works on your localhost. Talk to your hosting provider to get help increasing the number of fields allowed in a form post.

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

Jose

Thank you Ray, I appreciate it

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