Re: [PHP-DB] Using ifelse to go to another page

2003-01-04 Thread Bill Lovett
Change the second ifelse-- either get rid of it, or put it at the end. Right now your logic is like this: if (a equals b) { ... } elseif (a does not equal b) { ... } elseif (c equals d) etc One of the first two conditions will always match, so the rest of the statement is skipped. -bill

Re: [PHP-DB] Textarea, File Upload field setting values

2003-01-04 Thread Bill Lovett
For the textarea, print the value between the tags-- there is no value attribute: textarea?= $txtDescription ?/textarea You cannot do this with file inputs. -bill Rajesh Fowkar wrote: Hi, I can write a code like : input type=text name=txtfield1 value=? $txtfield1 ? Thus I can set the