Need help with PHP snippet in HTML file?

Guy

New member
I'm trying to put the following code into an HTML file (it must be html for reasons too long to explain). But unfortunately when it hits the > in my code it thinks my php snipped has ended and displays the rest as html.

<?php
$item_array[] = array(
'title' => $title,
'url' => $url,
'description' => $description,
'timestamp' => $timestamp
);
?>

Any ideas how I can parse that => so it still does it's job in the php snippet without having the HTML think it is an end tag?
 
Back
Top