Jump to content

[SOLVED] Multiple PHP Scripts


ilikemath2002

Recommended Posts

Is it possible to do this?

 

At top of file:

<?php
$example = "example";
?>

HTML CODE BLABLABLA

<?=$example;?>

(= is short tags for echo)

Errr.... yes. That's the kind of thing that PHP does

 

Though the use of <?= is better done using <?php echo

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.