[PHP-DB] Re: Keeping the mailing list sain

2003-12-23 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi guys, > > So that I don't drive members of the mailing list insane: > > In Outlook XP (2002), I want to enable the "Out of office" feature; what > I don't want to do is have it reply to every message posted to the PHP > mailing list.

[PHP-DB] Re: Display Mysql Result in drop down list

2003-12-23 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > > Hi all, > > Right now I'm trying to retrieve one of the column "tutor_name" and display al > the tutor's name in a drop down list. The problem now is, the drop down list > only manage to display 1 record from that row instead of al

Re: [PHP-DB] Re: Display Mysql Result in drop down list

2003-12-23 Thread irinchiang
Hi: then now i'm trying to select a value from the drop down list, echo the value i have selected and lastly INSERT the value into DB with the following : Below's a snippet of code: //retrieve all "tutor_name" from DB and display in drop down list " .$row ["tutor_name"]. ""; } $result = $db

[PHP-DB] INSERT into 2 different tables??

2003-12-23 Thread irinchiang
Hi all: Just wana ask is it possible to have only one form and when i submit, it should INSERT data into 2 diff tables?? Hope u get my idea... Merry X'Mas!! Irin. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] INSERT into 2 different tables??

2003-12-23 Thread mike karthauser
> Just wana ask is it possible to have only one form and when i submit, it > should INSERT data into 2 diff tables?? > Hope u get my idea... It is possible. You just need to do 2 single inserts to one to each table. -- Mike Karthauser Managing Director - Brightstorm Ltd Email >> [EMA

Re: [PHP-DB] Re: php mail() question

2003-12-23 Thread mike karthauser
> What does this do? Well I added and for > a testing purpose. > > It returns in the textarea ... > > So it's skipping the HtmlSpecialChars code. Why? Change this: echo "",HtmlSpecialChars($headers[$line]),"'"; For echo "".HtmlSpecialChars($headers[$line])."'"; Which should display. --

[PHP-DB] password---simple questions but...

2003-12-23 Thread Hadi
Hi, all please help me in this, Iam using MYSQL , my colomn is password varchar(12) >insert into tablepassword values ('',password('def')); it is executed, (select * from tablepassword) showing the password is hashed, and then to view the record using 'where' : >select * from tablepassword where

Re: [PHP-DB] password---simple questions but...

2003-12-23 Thread John W. Holmes
Hadi wrote: Hi, all please help me in this, Iam using MYSQL , my colomn is password varchar(12) insert into tablepassword values ('',password('def')); PASSWORD() always returns a result that's 16 characters. So you should be using a VARCHAR(16) column. -- ---John Holmes... Amazon Wishlist: www.

RE: [PHP-DB] Re: Display Mysql Result in drop down list

2003-12-23 Thread Aleks @ USA.net
Hi, I am looking at your code and have a question, in your code you have print "" .$row ["tutor_name"]. ""; Doesn't the SELECTED piece mark everything listed as selected?? When you bring up the page with the drop down list and open the source, what does it show?? I handle this a little differ

Re: [PHP-DB] Re: php mail() question

2003-12-23 Thread JeRRy
Change this: echo "",HtmlSpecialChars($headers[$line]),"'"; For echo "".HtmlSpecialChars($headers[$line])."'"; Which should display. I tried this a few days ago. All it outputs is the "PRE" HTML tags. even replacing the ',' with '.' . That's what I thought would need to be done to