Jump to content

[SOLVED] syntax error in small code snippet


cluce

Recommended Posts

You can do it multiple different ways. Here are two:

<?php
if ($priv === true)  { 
   echo '<a href="post_topic.php">update_banner</a>';
	}
?>

or

<?php
if ($priv === true)  { ?>
<a href="post_topic.php">update_banner</a>
<?php } ?>

 

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.