close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Quotation Marks cause Value to disappear

Thread began 3/25/2015 3:45 am by astrostrom | Last modified 3/25/2015 10:51 am by astrostrom | 554 views | 1 replies


Quotation Marks cause Value to disappear

I am having a problem when someone enters Double Quotation marks around a title in an input form.

Update Form example:

<input type="text" name="title" id="title" size="50" value="<?php echo($rsCatalog->getColumnVal("title")); ?>" >

In the above if "Example 1" is the value in the DB it will not display while Example 1 will.

Same on the Detail Page:

Even though the title (value) is properly inserted into the DB it does not display on the detail page and instead returns a blank or empty value - i.e. the quotation marks cause the value to not display.

<?php echo($rsCatalog->getColumnVal("title")); ?>" />

Thanks for your help.

.---------------- UPDATE Problem Solved ----------------

I discovered that if I use single quotation marks (an apostrophe ) instead of ( " ) in certain code lines then I do not have the problem.

Old Example: <input type="text" name="title" id="title" size="50" value="<?php echo($rsCatalog->getColumnVal("title")); ?>" >

New Example: <input type="text" name="title" id="title" size="50" value='<?php echo($rsCatalog->getColumnVal("title")); ?>' >

or this

OLD: <a href="../upload/katalog/<?php echo($rsCatalog->getColumnVal("image")); ?>"
title="<?php echo($rsCatalog->getColumnVal("title")); ?>" >

NEW: <a href="../upload/katalog/<?php echo($rsCatalog->getColumnVal("image")); ?>"
title='<?php echo($rsCatalog->getColumnVal("title")); ?>' >

Thanks for your attention.

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





Ease of use


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