Jump to content

a simple coding help.


dgnzcn

Recommended Posts

If you're going to use double quotes around the string, us single quotes inside the string so you don't clutter up the string with escaped double quotes.

 

Which is easier on the eye, your way:

<?php
echo "<a href=\"pop.php?git=urun&popu&id={$row_Rec1['id']}\" rel=\"facebox\">{$bul}</a>";
?>

or

<?php
echo "<a href='pop.php?git=urun&popu&id={$row_Rec1['id']}' rel='facebox'>$bul</a>";
?>

 

Ken

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.