php-windows Digest 1 Aug 2004 01:31:37 -0000 Issue 2341

Topics (messages 24313 through 24327):

Strange behaviour
        24313 by: Schalk Neethling
        24316 by: Jed Hunsaker
        24319 by: Justin Patrin
        24321 by: Schalk Neethling
        24323 by: Justin Patrin
        24324 by: Justin Patrin
        24326 by: Schalk Neethling

test
        24314 by: Andrew English

Re: Hopefuly an easy one?
        24315 by: Jed Hunsaker

Re: Run system command from PHP
        24317 by: Jed Hunsaker

Need help with PHP -> Mail -> SMTP -> Windows Exchange
        24318 by: Andrew English
        24320 by: Justin Patrin
        24327 by: Manuel Lemos

Re: Question
        24322 by: Schalk Neethling
        24325 by: Justin Patrin

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hi there

I have a line of PHP code that behaves very strangely, I was hoping someone can shed some light on this.

When the line reads as follows:
<?php echo '<a href="javascript:openWindow();">'.$row_ads['full_img'].'</a>' ?>
it works find and the output is displayed. Now, when I change the line as follows no output is produced.


<?php echo '<a href="javascript:openWindow();"><img src="'.$row_ads['full_img'].'" width="87" height="120" /></a>' ?>

Any ideas?

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za

This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you.
--- End Message ---
--- Begin Message ---
Well, what's the value of $row_ads['full_img']?

--- End Message ---
--- Begin Message ---
On Sat, 31 Jul 2004 17:33:50 +0200, Schalk Neethling
<[EMAIL PROTECTED]> wrote:
> Hi there
> 
> I have a line of PHP code that behaves very strangely, I was hoping
> someone can shed some light on this.
> 
> When the line reads as follows:
> <?php echo '<a
> href="javascript:openWindow();">'.$row_ads['full_img'].'</a>' ?>
> it works find and the output is displayed. Now, when I change the line
> as follows no output is produced.
> 
> <?php echo '<a href="javascript:openWindow();"><img
> src="'.$row_ads['full_img'].'" width="87" height="120" /></a>' ?>
> 

1) Put a semi-colon at the end of the line.
2) I would suggest not using the PHP tags inline as it makes the code
hard to read
3) Have you looked at the source HTML for the page to see if anything
gets output?

<?php
echo '<a href="javascript:openWindow();"><img
src="'.$row_ads['full_img'].'" width="87" height="120" /></a>';
?>

-- 
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder

paperCrane --Justin Patrin--

--- End Message ---
--- Begin Message ---
Justin

I copied your php string with the ; at the end and as before nothing :( When looking at the HTML source after the page has been parsed the following is there:

<a href="javascript:openWindow();"></a> so the <img> tag is completely skipped.



Justin Patrin wrote:

On Sat, 31 Jul 2004 17:33:50 +0200, Schalk Neethling
<[EMAIL PROTECTED]> wrote:


Hi there

I have a line of PHP code that behaves very strangely, I was hoping
someone can shed some light on this.

When the line reads as follows:
<?php echo '<a
href="javascript:openWindow();">'.$row_ads['full_img'].'</a>' ?>
it works find and the output is displayed. Now, when I change the line
as follows no output is produced.

<?php echo '<a href="javascript:openWindow();"><img
src="'.$row_ads['full_img'].'" width="87" height="120" /></a>' ?>



1) Put a semi-colon at the end of the line.
2) I would suggest not using the PHP tags inline as it makes the code
hard to read
3) Have you looked at the source HTML for the page to see if anything
gets output?

<?php
echo '<a href="javascript:openWindow();"><img
src="'.$row_ads['full_img'].'" width="87" height="120" /></a>';
?>




-- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za

This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you.

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za

This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you.
--- End Message ---
--- Begin Message ---
On Sat, 31 Jul 2004 22:13:49 +0200, Schalk Neethling
<[EMAIL PROTECTED]> wrote:
> 
> 
> Justin
> 
> I copied your php string with the ;  at the end and as before nothing :(
> When looking at the HTML source after the page has been parsed the
> following is there:
> 
> <a href="javascript:openWindow();"></a> so the <img> tag is completely
> skipped.
> 

Try it in a different browser as well.

There's no way with that line of code that you can't get the img tag.
Either another line of code is being run or your browser (or a proxy
or firewall) is removing the img tag.

Try putting it all one one line. If that doesn't work:

<?php
echo '<a href="javascript:openWindow();">';
echo '<img src="'.$row_ads['full_img'].'" width="87" height="120" />';
echo '</a>';
?>

Also, try setting $row_ads['full_img'] to something you know will work
just before the echo. Perhaps your value in that array isn't
populated.

Try print_r($row_ads['full_img']);

> Justin Patrin wrote:
> 
> > On Sat, 31 Jul 2004 17:33:50 +0200, Schalk Neethling
> > <[EMAIL PROTECTED]> wrote:
> >
> >
> >> Hi there
> >>
> >> I have a line of PHP code that behaves very strangely, I was hoping
> >> someone can shed some light on this.
> >>
> >> When the line reads as follows:
> >> <?php echo '<a
> >> href="javascript:openWindow();">'.$row_ads['full_img'].'</a>' ?>
> >> it works find and the output is displayed. Now, when I change the line
> >> as follows no output is produced.
> >>
> >> <?php echo '<a href="javascript:openWindow();"><img
> >> src="'.$row_ads['full_img'].'" width="87" height="120" /></a>' ?>
> >>
> >>
> >
> >
> > 1) Put a semi-colon at the end of the line.
> > 2) I would suggest not using the PHP tags inline as it makes the code
> > hard to read
> > 3) Have you looked at the source HTML for the page to see if anything
> > gets output?
> >
> > <?php
> > echo '<a href="javascript:openWindow();"><img
> > src="'.$row_ads['full_img'].'" width="87" height="120" /></a>';
> > ?>
> >
> >
> >
> 
-- 
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder

paperCrane --Justin Patrin--

--- End Message ---
--- Begin Message ---
On Sat, 31 Jul 2004 15:15:33 -0700, Justin Patrin <[EMAIL PROTECTED]> wrote:
> On Sat, 31 Jul 2004 22:13:49 +0200, Schalk Neethling
> <[EMAIL PROTECTED]> wrote:
> >
> >
> > Justin
> >
> > I copied your php string with the ;  at the end and as before nothing :(
> > When looking at the HTML source after the page has been parsed the
> > following is there:
> >
> > <a href="javascript:openWindow();"></a> so the <img> tag is completely
> > skipped.
> >
> 
> Try it in a different browser as well.
> 
> There's no way with that line of code that you can't get the img tag.
> Either another line of code is being run or your browser (or a proxy
> or firewall) is removing the img tag.
> 
> Try putting it all one one line. If that doesn't work:
> 
> <?php
> echo '<a href="javascript:openWindow();">';
> echo '<img src="'.$row_ads['full_img'].'" width="87" height="120" />';
> echo '</a>';
> ?>
> 
> Also, try setting $row_ads['full_img'] to something you know will work
> just before the echo. Perhaps your value in that array isn't
> populated.
> 
> Try print_r($row_ads['full_img']);

I meant: print_r($row_ads);

> 
> 
> > Justin Patrin wrote:
> >
> > > On Sat, 31 Jul 2004 17:33:50 +0200, Schalk Neethling
> > > <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >> Hi there
> > >>
> > >> I have a line of PHP code that behaves very strangely, I was hoping
> > >> someone can shed some light on this.
> > >>
> > >> When the line reads as follows:
> > >> <?php echo '<a
> > >> href="javascript:openWindow();">'.$row_ads['full_img'].'</a>' ?>
> > >> it works find and the output is displayed. Now, when I change the line
> > >> as follows no output is produced.
> > >>
> > >> <?php echo '<a href="javascript:openWindow();"><img
> > >> src="'.$row_ads['full_img'].'" width="87" height="120" /></a>' ?>
> > >>
> > >>
> > >
> > >
> > > 1) Put a semi-colon at the end of the line.
> > > 2) I would suggest not using the PHP tags inline as it makes the code
> > > hard to read
> > > 3) Have you looked at the source HTML for the page to see if anything
> > > gets output?
> > >
> > > <?php
> > > echo '<a href="javascript:openWindow();"><img
> > > src="'.$row_ads['full_img'].'" width="87" height="120" /></a>';
> > > ?>
> > >
> > >
> > >
> >
> --
> DB_DataObject_FormBuilder - The database at your fingertips
> http://pear.php.net/package/DB_DataObject_FormBuilder
> 
> paperCrane --Justin Patrin--
> 


-- 
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder

paperCrane --Justin Patrin--

--- End Message ---
--- Begin Message ---
Justin

Ok here is what is happening, the code is as follows:

<!-- BLOCK ONE - Comments are not included in actual PHP page -->
<?php
echo '<a href="javascript:openWindow();">';
echo '<img src="'.$row_ads['full_img'].'" width="87" height="120" />';
echo '</a>';
?>
<!-- BLOCK TWO Comments are not included in actual PHP page -->
<?php echo $row_ads['full_img'] ?>


When I access the page with either FireFox 0.9 or IE 6.0 BLOCK TWO prints ../media/ads/001.jpg but, BLOCK ONE is totally skipped over.

Justin Patrin wrote:

On Sat, 31 Jul 2004 22:13:49 +0200, Schalk Neethling
<[EMAIL PROTECTED]> wrote:


Justin

I copied your php string with the ;  at the end and as before nothing :(
When looking at the HTML source after the page has been parsed the
following is there:

<a href="javascript:openWindow();"></a> so the <img> tag is completely
skipped.




Try it in a different browser as well.

There's no way with that line of code that you can't get the img tag.
Either another line of code is being run or your browser (or a proxy
or firewall) is removing the img tag.

Try putting it all one one line. If that doesn't work:

<?php
echo '<a href="javascript:openWindow();">';
echo '<img src="'.$row_ads['full_img'].'" width="87" height="120" />';
echo '</a>';
?>

Also, try setting $row_ads['full_img'] to something you know will work
just before the echo. Perhaps your value in that array isn't
populated.

Try print_r($row_ads['full_img']);



Justin Patrin wrote:



On Sat, 31 Jul 2004 17:33:50 +0200, Schalk Neethling
<[EMAIL PROTECTED]> wrote:




Hi there

I have a line of PHP code that behaves very strangely, I was hoping
someone can shed some light on this.

When the line reads as follows:
<?php echo '<a
href="javascript:openWindow();">'.$row_ads['full_img'].'</a>' ?>
it works find and the output is displayed. Now, when I change the line
as follows no output is produced.

<?php echo '<a href="javascript:openWindow();"><img
src="'.$row_ads['full_img'].'" width="87" height="120" /></a>' ?>




1) Put a semi-colon at the end of the line.
2) I would suggest not using the PHP tags inline as it makes the code
hard to read
3) Have you looked at the source HTML for the page to see if anything
gets output?

<?php
echo '<a href="javascript:openWindow();"><img
src="'.$row_ads['full_img'].'" width="87" height="120" /></a>';
?>






-- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za

This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you.
--- End Message ---
--- Begin Message ---
testing to see if my post shows up on this news group.

--- End Message ---
--- Begin Message ---
Or, just put a %20 in it's place.

--- End Message ---
--- Begin Message ---
Well, I got a ping to work by running the cmd.exe.  All I had to do was give
IUSR_MACHINE execution permissions to cmd.exe.

Not very secure, but give that a try.

Jed

--- End Message ---
--- Begin Message ---
I am trying to get my web page ready for uploading when I ran into a snag.
The person who supplied me with the php code for the contact page gave me
the send mail code. I am wondering if anyone can help me out with converting
the code so I can sent it via SMTP Auth?

Here is what I got from the person.

<?PHP
$to = "[EMAIL PROTECTED]";
$msg .= "This message has been sent from your Contact Form\n\n";
$msg .= "Name: $name\n";
$msg .= "Email: $email\n";
$msg .= "Website: $website\n";
$msg .= "Address 1: $address1\n";
$msg .= "Address 2: $address2\n";
$msg .= "City: $city\n";
$msg .= "State: $state\n";
$msg .= "Zip Code: $zip\n";
$msg .= "Country: $country\n";
$msg .= "Message: $comment\n";
mail($to, $name, $msg, "From: Contact Form\nReply-To: $email\n");
?>

And here what I found on the net for doing SMTP Auth.

<? php

//mail($catre, $subject, $message, $headers); //old fashion mail, using
sendmail, useful on linux
sock_mail($catre, $subject, $message, $headers,$from);//sock version, usable
on Win32

//this is the sock mail function
function sock_mail($auth,$to, $subj, $body, $head, $from){
       $lb="\r\n";                        //linebreak
       $body_lb="\r\n";                //body linebreak
       $loc_host = "localhost";        //localhost
       $smtp_acc = "steve";        //account
       $smtp_pass="jonson";            //password
       $smtp_host="smtp.server.com";    //server SMTP
       $hdr = explode($lb,$head);        //header

       if($body) {$bdy =
preg_replace("/^\./","..",explode($body_lb,$body));}

       // build the array for the SMTP dialog. Line content is
array(command, success code, additonal error message)
       if($auth == 1){// SMTP authentication methode AUTH LOGIN, use
extended HELO "EHLO"
           $smtp = array(
               // call the server and tell the name of your local host
               array("EHLO ".$loc_host.$lb,"220,250","HELO error: "),
               // request to auth
               array("AUTH LOGIN".$lb,"334","AUTH error:"),
               // username
               array(base64_encode($smtp_acc).$lb,"334","AUTHENTIFICATION
error : "),
               // password
               array(base64_encode($smtp_pass).$lb,"235","AUTHENTIFICATION
error : "));
       }
       else {// no authentication, use standard HELO
           $smtp = array(
               // call the server and tell the name of your local host
               array("HELO ".$loc_host.$lb,"220,250","HELO error: "));
       }


       // envelop
       $smtp[] = array("MAIL FROM: <".$from.">".$lb,"250","MAIL FROM error:
");
       $smtp[] = array("RCPT TO: <".$to.">".$lb,"250","RCPT TO error: ");
       // begin data
       $smtp[] = array("DATA".$lb,"354","DATA error: ");
       // header
       $smtp[] = array("Subject: ".$subj.$lb,"","");
       $smtp[] = array("To:".$to.$lb,"","");
       foreach($hdr as $h) {$smtp[] = array($h.$lb,"","");}
       // end header, begin the body
       $smtp[] = array($lb,"","");
       if($bdy) {foreach($bdy as $b) {$smtp[] = array($b.$body_lb,"","");}}
       // end of message
       $smtp[] = array(".".$lb,"250","DATA(end)error: ");
       $smtp[] = array("QUIT".$lb,"221","QUIT error: ");

       // open socket
       $fp = @fsockopen($smtp_host, 25);
       if (!$fp) echo "<b>Error:</b> Cannot conect to ".$smtp_host."<br>";

       $banner = @fgets($fp, 1024);
       // perform the SMTP dialog with all lines of the list
       foreach($smtp as $req){
           $r = $req[0];
           // send request
           @fputs($fp, $req[0]);
           // get available server messages and stop on errors
           if($req[1]){
               while($result = @fgets($fp, 1024)){if(substr($result,3,1) ==
" ") { break; }};
               if (!strstr($req[1],substr($result,0,3)))
echo"$req[2].$result<br>";
           }
       }
       $result = @fgets($fp, 1024);
       // close socket
       @fclose($fp);
       return 1;
   }

?>

Your help would be appreciate it! Thanks

Andrew

--- End Message ---
--- Begin Message ---
On Sat, 31 Jul 2004 10:37:53 -0400, Andrew English
<[EMAIL PROTECTED]> wrote:
> I am trying to get my web page ready for uploading when I ran into a snag.
> The person who supplied me with the php code for the contact page gave me
> the send mail code. I am wondering if anyone can help me out with converting
> the code so I can sent it via SMTP Auth?
> 
> Here is what I got from the person.
> 
> <?PHP
> $to = "[EMAIL PROTECTED]";
> $msg .= "This message has been sent from your Contact Form\n\n";
> $msg .= "Name: $name\n";
> $msg .= "Email: $email\n";
> $msg .= "Website: $website\n";
> $msg .= "Address 1: $address1\n";
> $msg .= "Address 2: $address2\n";
> $msg .= "City: $city\n";
> $msg .= "State: $state\n";
> $msg .= "Zip Code: $zip\n";
> $msg .= "Country: $country\n";
> $msg .= "Message: $comment\n";
> mail($to, $name, $msg, "From: Contact Form\nReply-To: $email\n");
> ?>
> 
> And here what I found on the net for doing SMTP Auth.
> 
> <? php
> 
> //mail($catre, $subject, $message, $headers); //old fashion mail, using
> sendmail, useful on linux
> sock_mail($catre, $subject, $message, $headers,$from);//sock version, usable
> on Win32
> 
> //this is the sock mail function
> function sock_mail($auth,$to, $subj, $body, $head, $from){
>        $lb="\r\n";                        //linebreak
>        $body_lb="\r\n";                //body linebreak
>        $loc_host = "localhost";        //localhost
>        $smtp_acc = "steve";        //account
>        $smtp_pass="jonson";            //password
>        $smtp_host="smtp.server.com";    //server SMTP
>        $hdr = explode($lb,$head);        //header
> 
>        if($body) {$bdy =
> preg_replace("/^\./","..",explode($body_lb,$body));}
> 
>        // build the array for the SMTP dialog. Line content is
> array(command, success code, additonal error message)
>        if($auth == 1){// SMTP authentication methode AUTH LOGIN, use
> extended HELO "EHLO"
>            $smtp = array(
>                // call the server and tell the name of your local host
>                array("EHLO ".$loc_host.$lb,"220,250","HELO error: "),
>                // request to auth
>                array("AUTH LOGIN".$lb,"334","AUTH error:"),
>                // username
>                array(base64_encode($smtp_acc).$lb,"334","AUTHENTIFICATION
> error : "),
>                // password
>                array(base64_encode($smtp_pass).$lb,"235","AUTHENTIFICATION
> error : "));
>        }
>        else {// no authentication, use standard HELO
>            $smtp = array(
>                // call the server and tell the name of your local host
>                array("HELO ".$loc_host.$lb,"220,250","HELO error: "));
>        }
> 
>        // envelop
>        $smtp[] = array("MAIL FROM: <".$from.">".$lb,"250","MAIL FROM error:
> ");
>        $smtp[] = array("RCPT TO: <".$to.">".$lb,"250","RCPT TO error: ");
>        // begin data
>        $smtp[] = array("DATA".$lb,"354","DATA error: ");
>        // header
>        $smtp[] = array("Subject: ".$subj.$lb,"","");
>        $smtp[] = array("To:".$to.$lb,"","");
>        foreach($hdr as $h) {$smtp[] = array($h.$lb,"","");}
>        // end header, begin the body
>        $smtp[] = array($lb,"","");
>        if($bdy) {foreach($bdy as $b) {$smtp[] = array($b.$body_lb,"","");}}
>        // end of message
>        $smtp[] = array(".".$lb,"250","DATA(end)error: ");
>        $smtp[] = array("QUIT".$lb,"221","QUIT error: ");
> 
>        // open socket
>        $fp = @fsockopen($smtp_host, 25);
>        if (!$fp) echo "<b>Error:</b> Cannot conect to ".$smtp_host."<br>";
> 
>        $banner = @fgets($fp, 1024);
>        // perform the SMTP dialog with all lines of the list
>        foreach($smtp as $req){
>            $r = $req[0];
>            // send request
>            @fputs($fp, $req[0]);
>            // get available server messages and stop on errors
>            if($req[1]){
>                while($result = @fgets($fp, 1024)){if(substr($result,3,1) ==
> " ") { break; }};
>                if (!strstr($req[1],substr($result,0,3)))
> echo"$req[2].$result<br>";
>            }
>        }
>        $result = @fgets($fp, 1024);
>        // close socket
>        @fclose($fp);
>        return 1;
>    }
> 
> ?>
> 
> Your help would be appreciate it! Thanks
> 

So what's your problem exactly?

You could always try going with another mailing solution:
http://pear.php.net/package/Mail

-- 
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder

paperCrane --Justin Patrin--

--- End Message ---
--- Begin Message ---
Hello,

On 07/31/2004 11:37 AM, Andrew English wrote:
I am trying to get my web page ready for uploading when I ran into a snag.
The person who supplied me with the php code for the contact page gave me
the send mail code. I am wondering if anyone can help me out with converting
the code so I can sent it via SMTP Auth?

This code has several problems that would make it choke with some servers.

I suggest that you would not re-invent the wheel and use popular components like this class for composing and sending messages. Even if you do not want to send complex messages and do not want to change your code much, you can use a class wrapper function named smtp_mail() that works exactly like the mail() function, except that it always sends messages via SMTP and lets you configure authentication credentials.

http://www.phpclasses.org/mimemessage

You also need this other class for the actual delivery:

http://www.phpclasses.org/smtpclass


--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

--- End Message ---
--- Begin Message ---
Is the following line good/legal usage of PHP in an HTML page?

<a href="view_ad.php?id=<?php echo $row_ads['id']; ?>"><img src="<?php echo $row_ads['full_img']; ?>" width="87" height="120" hspace="5" vspace="5" border="1" /></a>

--
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za

This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you.
--- End Message ---
--- Begin Message ---
On Sat, 31 Jul 2004 22:34:38 +0200, Schalk Neethling
<[EMAIL PROTECTED]> wrote:
> Is the following line good/legal usage of PHP in an HTML page?
> 
> <a href="view_ad.php?id=<?php echo $row_ads['id']; ?>"><img src="<?php
> echo $row_ads['full_img']; ?>" width="87" height="120" hspace="5"
> vspace="5" border="1" /></a>
> 

Sure....it's not very readable, though.

P.S. Please try to get rid of that awful message at the bottom of your
mails. It's meaningless and annoying.

-- 
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder

paperCrane --Justin Patrin--

--- End Message ---

Reply via email to