Re: [PHP-DB] Problem with passing variables

2004-01-27 Thread Viorel Dragomir
- Original Message - From: Phil Matt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 17:08 Subject: [PHP-DB] Problem with passing variables Hello to all. I am a relative newcomer to PHP. I am trying to pass the value of a variable from a MySQL database from

Re: [PHP-DB] Problem with passing variables

2004-01-27 Thread Ricardo Lopes
If you have something like this: echo 'tda href=email.php?recip=$myrow[0]img src=graphics/mail.gif class=imglink alt=Click to send mail to this person //a/td/tr'; It wont work. Use instead: echo 'tda href=email.php?recip='.$myrow[0].'img src=graphics/mail.gif class=imglink alt=Click to send

Re: [PHP-DB] Problem with passing variables

2004-01-27 Thread Phil Matt
On 27 Jan 2004 at 15:56, Ricardo Lopes wrote: If you have something like this: echo 'tda href=email.php?recip=$myrow[0]img src=graphics/mail.gif class=imglink alt=Click to send mail to this person //a/td/tr'; It wont work. Use instead: echo 'tda href=email.php?recip='.$myrow[0].'img

Re: [PHP-DB] Problem with passing variables

2004-01-27 Thread Ricardo Lopes
; [EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 4:27 PM Subject: Re: [PHP-DB] Problem with passing variables On 27 Jan 2004 at 15:56, Ricardo Lopes wrote: If you have something like this: echo 'tda href=email.php?recip=$myrow[0]img src=graphics/mail.gif class=imglink alt=Click to send

RE: [PHP-DB] Problem with passing variables in PHP

2003-03-14 Thread Hutchins, Richard
On update.php, you need to refer to the varibles passed from the first page like so: $_POST[varname]. I think that'll fix your problem. -Original Message- From: Mazin Albahkali [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 11:08 AM To: [EMAIL PROTECTED] Subject: [PHP-DB]

RE: [PHP-DB] Problem with passing variables in PHP

2003-03-14 Thread SELPH,JASON (HP-Richardson,ex1)
I am sure someone else will beat me to this but here is an example update.php --- ?php echo html\n; echo body\n; //add this to assign POST to a variable you can use on this page $sname=$_POST[sname] //that will give you an idea of what to do if (isset($sname)) {