Jump to content

[SOLVED] Text Gap - why is there a gap?


Lokolo

Recommended Posts

For Arrays you use { and }

and you also need to make quotes... so:

<?php
echo "<h5>Funds: £{$_SESSION['funds']}</h5>";
echo "<h5>Guests: {$_SESSION['totalguests']}</h5>";
?>

You also can do that like:

<?php
echo "<h5>Funds: £".$_SESSION['funds']."</h5>";
echo "<h5>Guests: ".$_SESSION['totalguests']."</h5>";
?>

 

or do you mean something different?

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.