netman182
04-10-2003, 05:48 PM
I have a question. i'm trying to add a carID from tblcar in my database to a textfield carid how do i do that??? any suggections???
|
Click to See Complete Forum and Search --> : text area database field netman182 04-10-2003, 05:48 PM I have a question. i'm trying to add a carID from tblcar in my database to a textfield carid how do i do that??? any suggections??? jpmoriarty 04-10-2003, 06:00 PM <textarea name=dbinfo> //insert your code to put the values in here. in php it would be... <?php $row = mysql_fetch_array($result); echo $row['text_field']; ?> </textarea> jpmoriarty 04-11-2003, 04:41 AM sorry yes i misread - wasnt sure itf he wanted text box or text area. with text area's, netman, the text that you want to appear in the box by default doesnt go into a "value" field like it does for text boxes. It goes between the <textarea> and </textarea> tags. netman182 04-11-2003, 11:24 AM Thanks. Dave's example helped alot better. Thanks JP and DAVE :) jpmoriarty 04-11-2003, 12:30 PM DOH! webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |