Mixing PHP and HTML
-
OK, so I’m a newbie to both, and I have the following piece of code in a PHP template.
<div class=”attendee”><img src=<?php $photo; ?> alt=”” /><?php $Name; ?>
On Site: ><?php $tID ?>
On the Web: ><?php $pURL ?>
Title: <?php $title ?>
Organization: <?php $cpny ?></div>Here’s the output:
On Site: On the Web: Title: Organization:
and I can see a square at the beginning of the line (before On Site), telling me that the variable $photo is being picked up, but not the other variables. Any ideas?
–thx
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Mixing PHP and HTML’ is closed to new replies.