[PHP-DB] error

2004-09-28 Thread Remember14a
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

[PHP-DB] Re: error

2004-09-28 Thread David Robley
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 >

RE: [PHP-DB] error

2004-09-28 Thread Bastien Koert
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

Re: [PHP-DB] Question on Registration Method

2004-09-28 Thread Stuart Felenstein
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

Re: [PHP-DB] error

2004-09-28 Thread Janet Valade
[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

[PHP-DB] Convert plain text to HTML tagged text

2004-09-28 Thread veditio
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

RE: [PHP-DB] Convert plain text to HTML tagged text

2004-09-28 Thread Bastien Koert
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

RE: [PHP-DB] Convert plain text to HTML tagged text

2004-09-28 Thread Ford, Mike
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

[PHP-DB] Was Convert plain text to HTML tagged text

2004-09-28 Thread veditio
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

[PHP-DB] RE: error

2004-09-28 Thread JeRRy
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