You are here: Re: OOPS--ERROR STILL EXISTS « All PHP « IT news, forums, messages
Re: OOPS--ERROR STILL EXISTS

Posted by joeblow on 06/09/06 11:24

"-Lost" <spam_ninjaREMOVEME@REMOVEMEcomcast.net> wrote in message
news:E-KdnWJuE-MkQRrZnZ2dnUVZ_vednZ2d@comcast.com...
> What version of PHP?

PHP 5

>
> Have you created a successful connection to your MySQL server? If so:
>
> $_conn = mysql_connect('host', 'user', 'pass');
> $string = 'In "the" middle.';
> $_db_string = mysql_real_escape_string($string, $_conn);
> // $_conn is not necessary if a valid connection exists
>
> print $_db_string;
>
> mysql_close($_conn);
> // $_conn is not necessary if a valid connection exists
>
> ...should work.

Aahh. No, I'm not connected prior to calling this function. I was attempting
to use the function just prior to connecting. Thanks.

>
> What is your docref_root, as I have never seen a warning function
reference say ".chm"?

You know, I've tried various ways of getting this to work, unsuccessfully:

docref_root = "E:\php\manual"
docref_ext = ".chm"

I've tried ".html" as the extension because of the instructions I read
somewhere. I thought maybe the instructions were old because my help file
types are .chm even though they *are* displayed in my browser. I believe
I've tried it with and without the trailing backslash, with/without the
quotes--I don't recall if I've tried every variation possible though. I
guess I got discouraged quickly due to all the other things I was
familiarizing myself with.

I'd really appreciate it if you could advise me on this one.

>
> -Lost
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация