Re: [PHP-DB] Re: MySQL to Email and Line Breaks

2002-04-13 Thread phplists
On the wrap= option, I have an HTML reference that mentions that IE4 used wrap=" off | physical | virtual".. i don't know if it supports it still but you might try it.. Bob "Jeff Oien" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I tried wrap=hard already. I

RE: [PHP-DB] Re: MySQL to Email and Line Breaks

2002-04-13 Thread Jeff Oien
I tried wrap=hard already. I should have mentioned that. Sorry if this is off topic. Jeff Oien > You need a wrap= within your textarea.. You may need a couple if the > browsers haven't come together on it yet.. But you can check it out here: > > http://www.blooberry.com/indexdot/html/tagpages/t/

[PHP-DB] Re: MySQL to Email and Line Breaks

2002-04-13 Thread phplists
You need a wrap= within your textarea.. You may need a couple if the browsers haven't come together on it yet.. But you can check it out here: http://www.blooberry.com/indexdot/html/tagpages/t/textarea.htm Just scroll down to wrap and check it out.. BTW, this seems like HTML help rather than PH

RE: [PHP-DB] MySQL to Email and Line Breaks

2002-04-13 Thread Jeff Oien
This isn't what I'm looking for because the output is to email not HTML. What I would like is the natural line breaks in the form input to be preserved and then result in line breaks in the email without having to add any \n, which didn't work anyway. Jeff Oien > check out nl2br() function [newl

Re: [PHP-DB] MySQL to Email and Line Breaks

2002-04-13 Thread olinux
check out nl2br() function [newline to break] http://www.php.net/manual/en/function.nl2br.php olinux Jeff Oien wrote: I have a form where someone enters the body of an email messageinto a part of a form to be sent out to a list. Then a script retrieves the body and sends it via email. Howeve

[PHP-DB] MySQL to Email and Line Breaks

2002-04-13 Thread Jeff Oien
I have a form where someone enters the body of an email message into a part of a form to be sent out to a list. Then a script retrieves the body and sends it via email. However I can't get line breaks to show up (I'm using MS Outlook) even if I enter the \n into the textarea form and those \n s

[PHP-DB] Re: mysql_num_rows

2002-04-13 Thread phplists
$link = mysql_connect ( "db.localhost.org", $user , $pass ) or die ( "Couldn't Connect to Mysql Server" ); $db = mysql_select_db( $dbname, $link ); $query = "SELECT * FROM users WHERE screen_name = '$screen_name' AND ... That should work.. Bob "Luke Kearney" <[EMAIL PROTECTED]> wrote in message

Re: [PHP-DB] Closing curly brackets?

2002-04-13 Thread Jennifer Downey
Thank you Paul, I have asked about atutorial on proper code formatting and got back a tutorial that was extremely hard to understand. While lots of people have screamed at me for my coding format no one has supplied an understandable answer. That is until this morning. > The first thing you sho

[PHP-DB] Re: mysql_num_rows

2002-04-13 Thread phplists
I ran into the same problem on a script yesterday.. It turns out that one of the vars in my mysql_connect() command wasn't assigned.. It gave me no indication of this so I hadn't thought to look there.. I just happened to be reading back through the whole page to see what I could find and noticed

Re: [PHP-DB] Closing curly brackets?

2002-04-13 Thread Paul Burney
on 4/12/02 11:15 PM, Jennifer Downey at [EMAIL PROTECTED] appended the following bits to my mbox: > I believe it has something to do with the first while statement's closing > curly bracket placement > but I can't seem to get it in the right place. Hi Jennifer, The first thing you should do is

[PHP-DB] Re: mysql_num_rows

2002-04-13 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hello All, > I am struggling to understand why my query throws an error the code as below > > $link = mysql_connect ( "db.localhost.org", $user , $pass ); > if ( ! $link ) > die ( "Couldn't Connect to Mysql Server" ); > print "Sucessf

Re: [PHP-DB] Re: LOBS with CURSOR_SHARING=FORCE gives core dump

2002-04-13 Thread Thies C. Arntzen
On Thu, Apr 11, 2002 at 06:09:02PM +0800, John Lim wrote: > Hmm, I have also been having similar problems with LOBs. However it might > not > be cursor_sharing=force, because on my Win 2000 oracle, LOBs work fine with > PHP > with this parameter set. > > However on our Sun server, PHP crashes as

[PHP-DB] mysql_num_rows

2002-04-13 Thread Luke Kearney
Hello All, I am struggling to understand why my query throws an error the code as below $link = mysql_connect ( "db.localhost.org", $user , $pass ); if ( ! $link ) die ( "Couldn't Connect to Mysql Server" ); print "Sucessfully connect to server "; $query = "select * from users " ."wh

Re: [PHP-DB] Advice for dataupload

2002-04-13 Thread Michael Andersson
<[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED]... Addressed to: "Michael Andersson" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Michael Andersson" <[EMAIL PROTECTED]> Fri, 12 Apr 2002 11:58:31 +0200 > > > "Jason Wong" <[EMAIL PROTECTED]> skrev i med

Re: [PHP-DB] Advice for dataupload

2002-04-13 Thread php3
Addressed to: "Michael Andersson" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Michael Andersson" <[EMAIL PROTECTED]> Fri, 12 Apr 2002 11:58:31 +0200 > > > "Jason Wong" <[EMAIL PROTECTED]> skrev i meddelandet > news:[EMAIL PROTECTED]... > > On Monday 08 April 2002 1