[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. Does

[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 all tutor's

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: snip //retrieve all tutor_name from DB and display in drop down list SELECT class=textarea name=tutor_name / ?

[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[EMAIL

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

2003-12-23 Thread mike karthauser
What does this do? Well I added PRE and /PRE for a testing purpose. It returns in the textarea PRE/PRE ... So it's skipping the HtmlSpecialChars code. Why? Change this: echo textarea name='headers' cols='250' rows='5'PRE,HtmlSpecialChars($headers[$line]),/PRE/textarea'; For echo

[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:

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 OPTION VALUE=\$tutor_name\ SELECTED .$row [tutor_name]. /option; 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

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

2003-12-23 Thread JeRRy
Change this: echo textarea name='headers' cols='250' rows='5'PRE,HtmlSpecialChars($headers[$line]),/PRE/textarea'; For echo textarea name='headers' cols='250' rows='5'PRE.HtmlSpecialChars($headers[$line])./PRE/textarea'; Which should display. I tried this a few days ago. All it