RE: [PHP] unset a function?

2002-01-30 Thread Rick Emery
include_once() won't help. In fact, he is including each file only once. He wants to have a function with the same name in each file. That's the kicker... -Original Message- From: Philip Olson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 3:03 PM To: Bas Jobsen Cc: PHP

RE: [PHP] Sending an e-mail to 1,000 people

2002-01-29 Thread Rick Emery
yes you can by using MYSQL to store the names, PHP to generate the letters (or you can store letter template in database as well), and PHP's mail() function will take you home. -Original Message- From: Ben Clumeck [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 1:43 PM To:

RE: [PHP] Sending an e-mail to 1,000 people

2002-01-29 Thread Rick Emery
and MYSQL? If not, that's a whole other matter. rick -Original Message- From: Ben Clumeck [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 3:02 PM To: Rick Emery Subject: RE: [PHP] Sending an e-mail to 1,000 people Thanks for your response. How would it know who to send

RE: [PHP] Got a problem I cant figure out

2002-01-28 Thread Rick Emery
SHOW US YOUR CODE -Original Message- From: Ben Turner [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 27, 2002 10:56 PM To: [EMAIL PROTECTED] Subject: [PHP] Got a problem I cant figure out Parse error: parse error in /var/www/docs/tacklebox/404handler.php on line 47 I am receiving

RE: [PHP] MySQL queston - Which row does it put your info into?

2002-01-24 Thread Rick Emery
When records are deleted, the space they occupied are marked as vacant. New records are inserted into those locations. That said, since this is a relational database, it really doen't matter where the new records are inserted. If you want the nitty-gitty details of MYSQL or help, go to the the

RE: [PHP] Re: while loop on an array

2002-01-24 Thread Rick Emery
You don't need to know when you hit the end. Rather, simply remove the last || after the completion of the loop. while (list($new_qID,$new_aID) = each ($new_answers)) { $sql .= qID=\$new_qID || \; } $sql .= substr( $sql, 0, -3) .) AND uID = \$uID\; -Original Message-

RE: [PHP] What is going on here? list() = each()

2002-01-23 Thread Rick Emery
change to: ? $var = this.that; list( $thisVal, $thatVal ) = explode( ., $var ); echo $thisVal, $thatVal ? -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 3:43 PM To: PHP-General Subject: [PHP] What is going on here? list() = each()

RE: [PHP] Correction

2002-01-23 Thread Rick Emery
$newlines = nl2br($oldline); print $newlines; The $oldline would contain text which contains newline characters. -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 3:57 PM To: [EMAIL PROTECTED] Subject: [PHP] Correction I mean how to

RE: [PHP] can anyone explain this error ?

2002-01-23 Thread Rick Emery
It means you are trying to insert 22 values into 20 fields -Original Message- From: Matthew Darcy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 4:11 PM To: PHP developers Subject: [PHP] can anyone explain this error ? I am doing an insert into a EMPTY mysql table. 1

RE: [PHP] What do you mean?

2002-01-23 Thread Rick Emery
First, no such PHP function exists which will fix up the amount of spaces for each lines to make the end of each line to be all aligned. Second, you could verify that in section LXXXIII. String functions of the PHP manual before asking. Third, please keep the same subject line. It makes

RE: [PHP] encrypting passwords, how to decrypt?

2002-01-17 Thread Rick Emery
Did you try print $query to ensure it contained what you expected? -Original Message- From: Hawk [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 2:54 PM To: [EMAIL PROTECTED] Subject: [PHP] encrypting passwords, how to decrypt? Ok, even if I don't need encryption I thought

RE: [PHP] Beginner: Open URL

2002-01-16 Thread Rick Emery
In your original post (see below), you stated that that you wanted A tag functinality, which would involve the user clicking. In your last post, you state that you do not want the user to click; which is it to be? Now, your question is really about re-direction based upon a condition, whereby

RE: [PHP] variable problem - help!

2002-01-16 Thread Rick Emery
$row[coloumname_${v$ariable}] -Original Message- From: Dani [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 8:36 AM To: [EMAIL PROTECTED] Subject: [PHP] variable problem - help! Importance: High Hi! I 'm trying not to hard code my php coding and I'm trying to pass a

RE: [PHP] Help !! Mail Function Problem (Newbie)

2002-01-16 Thread Rick Emery
Put quotes around the TO address: mail([EMAIL PROTECTED], Subject, Line 1\nLine 2\nLine 3); -Original Message- From: Simos Varelakis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 12:07 PM To: [EMAIL PROTECTED] Subject: [PHP] Help !! Mail Function Problem (Newbie) Hello

RE: [PHP] find and replace help.. VERY important

2002-01-16 Thread Rick Emery
If you're on a unix/linux system, you can use an AWK script -Original Message- From: Peter Sienkiewicz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 2:32 PM To: [EMAIL PROTECTED] Subject: [PHP] find and replace help.. VERY important Hello ladies and gentlemen, I need a

RE: [PHP] Change column in mysgl

2002-01-15 Thread Rick Emery
ALTER TABLE mytable CHANGE COLUMN adress VARCHAR(40); -Original Message- From: Jan Grafström [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 5:11 AM To: [EMAIL PROTECTED] Subject: [PHP] Change column in mysgl Hi! Can I change this column adress VARCHAR(25) to adress

RE: [PHP] Change column in mysgl

2002-01-15 Thread Rick Emery
ALTER TABLE mytable CHANGE COLUMN adress VARCHAR(40); -Original Message- From: Jan Grafström [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 5:11 AM To: [EMAIL PROTECTED] Subject: [PHP] Change column in mysgl Hi! Can I change this column adress adress VARCHAR(25) to adress

RE: [PHP] Passing variables with include()

2002-01-14 Thread Rick Emery
Does http://www.someremote.server/calculate_drivers.php; contain a function? If so, you may have to declare $serie_id as global within it. -Original Message- From: Imar de Vries [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 5:53 AM To: [EMAIL PROTECTED] Subject: [PHP]

RE: [PHP] Getting data from DB

2002-01-10 Thread Rick Emery
Dani, you need to aska a specific question for us to help you. -Original Message- From: Dani [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 10:01 AM To: PHP LIST Subject: [PHP] Getting data from DB Hi! I'm trying to make a webpage which can be edited online. My problem is

RE: [PHP] headers showing up in browser

2002-01-10 Thread Rick Emery
what does your code look like? -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 1:17 PM To: PHP Subject: [PHP] headers showing up in browser I've got this problem that won't go away. The headers are showing up at the top of the page when I run

RE: [PHP] does this work?

2002-01-10 Thread Rick Emery
Show all your code. Did you open a connection to the MYSQL server? If so, show the code. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 3:29 PM To: PHP Subject: [PHP] does this work? It seems that I have a parse error somewhere in the

RE: [PHP] does this work?

2002-01-10 Thread Rick Emery
Show all your code. Did you open a connection to the MYSQL server? If so, show the code. What is the exact error that you get? -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 3:29 PM To: PHP Subject: [PHP] does this work? It seems that

RE: [PHP] does this work?

2002-01-10 Thread Rick Emery
quotes are not needed -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 3:26 AM To: Erik Price; PHP (E-mail) Subject: Re: [PHP] does this work? Hmm I believe that the mysql_query() function requires quotes around the query statement even it

RE: [PHP] can u find error in php file?

2002-01-08 Thread Rick Emery
Given the simplicity of the mail() function, why go to all this trouble? I must be missing something here. Does your PHP host lack SMTP, so you must use another server's SMTP? -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 3:25 AM To:

[PHP] RE: [PHP-DB] php+mysql simple query help me pls! ty.

2002-01-04 Thread Rick Emery
Test the mysql_query() return value: $result = mysql_query(SELECT * FROM members) or die(Error:.mysql_error()); there may be an error in your query. -Original Message- From: louie miranda [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 1:59 PM To: [EMAIL PROTECTED] Cc:

[PHP] RE: What is causing duplicate keys?

2001-12-05 Thread Rick Emery
it should read: INSERT INTO recensioni VALUES( NULL,... In order fot auto_increment to work, you must use NULL. When you tried NULL, what SPECIFIC error did you get when it complained? FYI: it complains about the duplicate key because you already inserted a record with 300 in the PRIMARY KEY

[PHP] RE: MySQL ORDER BY or PHP Sort?

2001-12-03 Thread Rick Emery
SELECT * FROM mytable ORDER BY series,price; -Original Message- From: René Fournier [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 4:27 PM To: [EMAIL PROTECTED] Subject: MySQL ORDER BY or PHP Sort? I want to select about 25 rows from a table, and sort them by two

[PHP] RE: [PHP-DB] restoring mysql db after mysqldump

2001-08-22 Thread Rick Emery
Are your privileges in MySQL set correctly? If ROOT doesn't have read/write access, the script will crash. rick -Original Message- From: Jay Paulson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 22, 2001 11:29 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP-DB] restoring

<    1   2   3   4   5   6