close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

disappearing titles and changing drop down menu box sizes

Thread began 10/22/2009 8:55 pm by micja3389704 | Last modified 11/09/2009 3:53 pm by micja3389704 | 8467 views | 32 replies

micja

Originally Said By: Eric Mittman
  I don't think that this issue would be related to the location you have the files in. I think it is just because of the double quotes being interpreted by the browser under certain conditions.

The code that you highlighted in red is exactly where this should be done. The code should look very similar on both pages. Once you wrap the function around the value it should preserve the quotes as their html entities, this way the browser will not display them incorrectly. Please give this a try on this value and let us know if there are any problems.  



Thanks for hanging in there with me on this, Eric. I obviously did it wrong, because it caused a "Parse error: syntax error, unexpected T_STRING" error.

I'll post the original code, from both pages, then how I changed it. Thanks for being patient with me.

Product insert page:
Original:
$WA_fieldValuesStr = "".((isset($_POST["ProductSKU"]))?$_POST["ProductSKU"]:"") ."" . "|" . "".((isset($_POST["ProductName"]))?$_POST["ProductName"]:"") ."" . "|" . "".((isset($_POST["ProductPrice"]))?$_POST[

Mine:
$WA_fieldValuesStr = "".((isset($_POST["ProductSKU"]))?$_POST["ProductSKU"]:"") ."" . "|" . "".((isset($_POST["ProductName"])) htmlentities ($_POST["ProductName"]:"") ."" . "|" . "".((isset($_POST[

Product update page:
Original:
$WA_fieldValuesStr = "".((isset($_POST["ProductSKU"]))?$_POST["ProductSKU"]:"") ."" . "|" . "".((isset($_POST["ProductName"]))?$_POST["ProductName"]:"") ."" . "|" . "".((isset($_POST["ProductPrice"]))?

Mine:
$WA_fieldValuesStr = "".((isset($_POST["ProductSKU"]))?$_POST["ProductSKU"]:"") ."" . "|" . "".((isset($_POST["ProductName"])) htmlentities ($_POST["ProductName"]:"") ."" . "|" . "".((isset($_POST["ProductPrice"]))?

Again, thanks for the help with this.

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