Page 1 of 1

simple need variable help

Posted: Sun Jun 11, 2006 9:06 am
by jasondavis
I have code like this below

Code: Select all

<?echo $sitename;?> Picture train <? 
echo "".number_format($trainid[0],0);
?>.......... The Best Train on MyCrib with a viewable Archive of <?
echo "".number_format($total_riders[0],0);
?> users!

I need to make

$bulletinsubject = that code above but I don't know the proper format please help

Posted: Sun Jun 11, 2006 9:27 am
by tecktalkcm0391
I think what your saying is that you want that to be in a variable so that you can call it on other pages and location?

I don't know about that, but you could put that code on a seperate PHP page, and then just do this where you want that to be displayed:

Code: Select all

<?php
include("the_page_this_the_code_on_it.php");
?>