473,405 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

best way to format html

dan

Im sure this has been asked a million times, but Im I couldn't find it.
So, why not make it 1 million +1.

I am looking for the best way to format html, to be put into a INSERT
statement. The main problem being the double quotes. Unfortunately not
using double quotes is not an option.

should I ,
a. Use regular expressions to change all " to something odd like ~!~. and
then when I select it again, use another regex to change ~!~ back to ".
Very ugly method.

b. Use some sort of base64 encoding. not sure how much that slows stuff
down.

c. use a regex to change the "'s to a \".. Would prefer not to do this
either.

or d. Some other method.
Jul 20 '05 #1
1 1467
On Wed, 02 Jun 2004 05:36:39 -0400, in mailing.database.mysql dan
<dc****@bestweb.net> wrote:
|
| Im sure this has been asked a million times, but Im I couldn't find it.
| So, why not make it 1 million +1.
|
| I am looking for the best way to format html, to be put into a INSERT
| statement. The main problem being the double quotes. Unfortunately not
| using double quotes is not an option.
|
| should I ,
| a. Use regular expressions to change all " to something odd like ~!~. and
| then when I select it again, use another regex to change ~!~ back to ".
| Very ugly method.
|
| b. Use some sort of base64 encoding. not sure how much that slows stuff
| down.
|
| c. use a regex to change the "'s to a \".. Would prefer not to do this
| either.
|
| or d. Some other method.


You could use single quotes. Use regex to convert all " to ' or better
yet to &quot;

---------------------------------------------------------------
jn****@yourpantsbigpond.net.au : Remove your pants to reply
---------------------------------------------------------------
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Laurens | last post by:
Hi, Which browser has the best CSS paged media support? I'm about to write a business plan, which needs to be printed on paper to be presented to the bank. Now I cringe at doing this in...
2
by: Mike Button | last post by:
Hello all, I am really really desperate on what I should do, and I am asking for help from anyone in this newsgroup, here's the situation: I am creating a form that is being run on a server...
1
by: Buford Early | last post by:
I am a real newbie, reading my first book on HTML, reading all of the back posts in this group, and making my first page. Please rip me a new one if I am out to lunch -- as long as you also tell...
52
by: Andy Dingley | last post by:
I'm using this at present: <p title="Publication date" ></p> Works fine on screen, but Fangs/Jaws just reads it as "left bracket twenty-eight slash zero slash two thousand five fifteen colon...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
4
by: deko | last post by:
I've heard it's best not to have any formatting specified for Table fields (except perhaps Currency), and instead set the formatting in the Form or Report. But what about Yes/No fields? When I...
2
by: Michael Rodriguez | last post by:
I have a smart client application written in C#. Since the app will be downloaded from the web onto the client's PC, I was wondering what the best help file format would be. Should I stick with a...
29
by: gs | last post by:
let say I have to deal with various date format and I am give format string from one of the following dd/mm/yyyy mm/dd/yyyy dd/mmm/yyyy mmm/dd/yyyy dd/mm/yy mm/dd/yy dd/mmm/yy mmm/dd/yy
1
by: =?Utf-8?B?VHJhY2tz?= | last post by:
Hi all, I can make a htmlhelp, help 2.0, nethelp, or winhelp format help file for my ..net2 application. Which works best, easiest to use, compatible etc? I want to run on windows 98 and higher...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.