RE: [PHP-DB] sending bulk emails

2001-11-03 Thread Robert Klinkenberg
Always nice to know when something is not too serious :-). -Oorspronkelijk bericht- Van: Rick Emery [mailto:[EMAIL PROTECTED]] Verzonden: Friday, November 02, 2001 5:05 PM Aan: PHP DB list Onderwerp: RE: [PHP-DB] sending bulk emails my comment was humor. we've already explored and

Re: [PHP-DB] Forms error in a catalog by Greenspan Bulger

2001-11-03 Thread p.whiter
Hi If you get yourself any decent text editor, it will have an option to show line numbers. Plenty of free editors here: http://download.cnet.com/downloads/0,10151,0-4003619-106-0-1-0,00.html?tag=d ir Personally I use and would recommend 'Ultra-edit' It would probably be a good idea to just

Re: [PHP-DB] Forms error in a catalog by Greenspan Bulger

2001-11-03 Thread Darren
Excellent!! I'll do it! I didn't know about the editors. I'll let you know. Thank you very much! Darren P.Whiter wrote: Hi If you get yourself any decent text editor, it will have an option to show line numbers. Plenty of free editors here:

Re: [PHP-DB] Forms error in a catalog by Greenspan Bulger

2001-11-03 Thread Darren
Thanks for the help on the free editors. Line 31 is blank The section is as follows: // string start_form ([string action [, array attributes]]) // This function returns an HTML form tag. If the first argument // is empty, the value of the global Apache variable SCRIPT_NAME // is used for the

Re: [PHP-DB] Forms error in a catalog by Greenspan Bulger (sorry line 33)

2001-11-03 Thread Darren
Sorry for the last post it is line 33 As follows // string start_form ([string action [, array attributes]]) // This function returns an HTML form tag. If the first argument // is empty, the value of the global Apache variable SCRIPT_NAME // is used for the 'action' attribute of the form tag.

[PHP-DB] EOQ what does it mean??

2001-11-03 Thread Darren
Greetings, I bought the bookMySQL/PHP Database Applications by Jay Greenspan and Brad Bulger, and in I discovered some code that I don't understand and I can't find reference to it anywhere. (in the php manuel, book, php website etc.) does anyone know what it means and if it php3 compatible.

Re: [PHP-DB] EOQ what does it mean??

2001-11-03 Thread p.whiter
If you look up 'here doc' in the manual you will see that the reference to EOQ below is part of that, you can use whatever you like in place of EOQ, I think your problem is that 'here doc' is not supported in php 3 Try replacing the lines $output = EOQ form action=$action $attlist EOQ; with

[PHP-DB] Nothing returned

2001-11-03 Thread Martin
Why am I not getting anything returned from this function? I have code doing a if user exists and b if user doesn't exist. I'm not getting any numRows result apparently. The query is OK and returns 1 user for $name=admin. I'm not getting any errors from isError. Martin function exists($name)

[PHP-DB] Unwanted Column Updating

2001-11-03 Thread Jeff Oien
I have this which inserts a stock trade entry: $sql1 = INSERT INTO $table_name (stock, shares, LorS, type, price1, time1) VALUES (\$stock\, \$shares\, \$LorS\, \$type\, \$price1\, NOW()); With price1 being the entry price and time1 the date/time of entry. Then when I exit the trade it will do

Re: [PHP-DB] Nothing returned

2001-11-03 Thread boclair
- Original Message - From: Martin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 04, 2001 8:29 AM Subject: [PHP-DB] Nothing returned : Why am I not getting anything returned from this function? : I have code doing a if user exists and b if user doesn't exist. I'm not

Re: [PHP-DB] Unwanted Column Updating

2001-11-03 Thread DL Neil
I have this which inserts a stock trade entry: $sql1 = INSERT INTO $table_name (stock, shares, LorS, type, price1, time1) VALUES (\$stock\, \$shares\, \$LorS\, \$type\, \$price1\, NOW()); With price1 being the entry price and time1 the date/time of entry. Then when I exit the trade it

Re: [PHP-DB] EOQ what does it mean??

2001-11-03 Thread Darren
Paul, You are exactly right from what I can tell. I did you you suggested and it worked! There are several of those in the document. Looked it up in the book and have a limited idea on what it is, and also learning from your example I have a better Idea. But I did a search for here docs,

RE: [PHP-DB] Nothing returned

2001-11-03 Thread Peter Lovatt
$sql = SELECT * FROM users WHERE (name='$name') if you are not getting an error, it is usually worth echoing the query SQL echo $sql ; and perhaps trying it manually. Is it possible the quotes around the $name are giving SELECT * FROM users WHERE (name='$name') and not evaluating $name

Re: [PHP-DB] EOQ what does it mean??

2001-11-03 Thread p.whiter
If you are running windows, I suggest you download the .chm version of the php manual, great for easy searching and bookmarking pages etc. http://uk2.php.net/distributions/manual/manual-en.chm To answer your question, the first piece of code will be, replace: $output = EOQ /form EOQ; with

RE: [PHP-DB] Nothing returned

2001-11-03 Thread Martin
Peter Lovatt wrote: $sql = SELECT * FROM users WHERE (name='$name') if you are not getting an error, it is usually worth echoing the query SQL echo $sql ; and perhaps trying it manually. Is it possible the quotes around the $name are giving SELECT * FROM users WHERE

[PHP-DB] Function Prolem parse error

2001-11-03 Thread Darren
Howdy all Paul if your there I have another issue similar to the past. It is probably a PHP3 to PHP4 problem. Here tis function hidden_field ($name=, $value=) * I have no clue what could be wrong. Thanks Oh I think I got the rest fixed. Thanks for the help. I think I have a few

[PHP-DB] include shell scripts

2001-11-03 Thread sharmad
I m making a web based config tool in which i require to configure a package via browser but whats happening in that if i give the command in system() call then the packege is being tried to install as nobody user (default apache user) .Pls give me the link about how to go about it (other than