Dear friends,
Script writes to database, however gives this error while on internet web
server, on local host doesn't give same error.
Any guidance, please
Thank you
-
Back to Main
Notice: Undefined index: op in
\\premfs15\sites\premium15\mrbushforpeace
On Tue, 28 Sep 2004 20:28, [EMAIL PROTECTED] wrote:
> Dear friends,
>
> Script writes to database, however gives this error while on internet web
> server, on local host doesn't give same error.
>
> Any guidance, please
>
> Thank you
> -
> Back to Main
>
try checking for the value
if (isset($_POST["op"] != "addpost")) {
or to supress the error, use the '@' symbol in fron of the $_POST or $_GET
if (@$_POST["op"] != "addpost") {
Bastien
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP-DB] error
Date: Tue, 28 Sep 2004 06:58:10 EDT
Dear frie
Well, finally suceeding to get by activation page
working, where the 0 is flipped to 1 to mean actived,
I'm stuck on the login page.
Unfortunately I'm stuck :) with what I have below.
It's part of an authentication system. This code
doesn't include the includes, but I thought maybe
significant en
[EMAIL PROTECTED] wrote:
Dear friends,
Script writes to database, however gives this error while on internet web
server, on local host doesn't give same error.
Any guidance, please
Thank you
-
Back to Main
Notice: Undefined index: op in
\\premfs15\sites\p
To the list:
I've googled and searched the manual, but I'm still looking for a simple solution to a
simple problem.
I have a MySQL database of text stories in longtext MySQL fields. These stories have
simple returns (\r) in them and no other formatting. I need to use these stories both
for web
why not do a search and replace on the way out to the browser?
$text = str_replace("\r,"",$text);
...
echo $text;
...
?>
bastien
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Convert plain text to HTML tagged text
Date: Tue, 28 Sep 2004 17:15:24 +
To the list:
I've googled an
On 28 September 2004 18:15, [EMAIL PROTECTED] wrote:
> To the list:
>
> I've googled and searched the manual, but I'm still looking
> for a simple solution to a simple problem.
>
> I have a MySQL database of text stories in longtext MySQL
> fields. These stories have simple returns (\r) in them
Thanks to both Mike and Bastien for the quick solution. Simple, and works perfectly.
--V
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Suggestion, please note out where "line 9" is exactly.
Some mail clients will use wordwrap and some not so
the lines may not be the same on "every" mail client
so "line 9" could be more like "line 14" on some and
"line 9" on others. Just "//comment" where "line 9"
is so we know and can answer you
10 matches
Mail list logo