you could use css too now that i think of it.. wrap your stirng in some
div tag or somehting and use white-space: nowrap; or something like
that.
Jason
[EMAIL PROTECTED] wrote:
>
> Jed R. Brubaker wrote:
>
> >Hey all! Glad you are here.
> >
> >I have a question that is confusing me a bit. I am
On Fri, 2004-08-06 at 13:24, Jed R. Brubaker wrote:
> Hey all! Glad you are here.
>
> I have a question that is confusing me a bit. I am trying to output a string
> that is pulled from a database that I don't have control over.
>
> Everything is great, except that the string needs to be all on on
Jed R. Brubaker wrote:
Hey all! Glad you are here.
I have a question that is confusing me a bit. I am trying to output a string
that is pulled from a database that I don't have control over.
Everything is great, except that the string needs to be all on one line with
no line breaks (for Javascript'
you could remove all br tags, \n \r chars from the string. use
$string = str_replace(array('\r','\n',''), '', $string);
or something similar
Jason
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote:
>
> Hey all! Glad you are here.
>
> I have a question that is confusing me a bit. I am trying to out
Hey all! Glad you are here.
I have a question that is confusing me a bit. I am trying to output a string
that is pulled from a database that I don't have control over.
Everything is great, except that the string needs to be all on one line with
no line breaks (for Javascript's sake). Is there a f
Hi,
Newbie question.
Does anyone know of a function or script that will capitalize the first char
and lowercase the remaining chars of each word in a string?
Thanks,
James
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dale Hersh <[EMAIL PROTECTED]> wrote:
> My question is regarding strings in php. I have this form in which the user
> fills in a description. The problem is that if the user uses any
> aprostrophe's or any other unusual characters in the form, the string can
> not be inserted into my ms sql databas
My question is regarding strings in php. I have this form in which the user
fills in a description. The problem is that if the user uses any
aprostrophe's or any other unusual characters in the form, the string can
not be inserted into my ms sql database.
Any ideas?
Thanks,
Dale
--
PHP Genera
I'm trying to pull a string from a database to use in a javascript
function.. but it's doing line breaks on me, which in turn messes up the
javascript.
The string in the mysql db is like:
kjdsakjadkskjdkskjkdfjdfkjfd
When I pull it out, it becomes:
kjdsakjadk
skjdks
kjkdfjdfkjfd
I've tried
9 matches
Mail list logo