im sort of new at php so this might sound stupid but, with php, can you have something like
<?php
$words="This is a paragraph";
?>
on one page then
<?php
echo $words;
?>
on another page and link them together somehow?
Sure.
<?php
include('whatever.php')
?>
On whatever.php, have:
$words = 'blah blah';
On otherpage.php, have:
include 'whatever.php';
echo $words;
oh! ill try that
Thanks! It Worked :D
Yeah. PHP processes statements in a linear fashion, so you need to define $words before you can actually use $words.
(05-18-2010, 08:40 AM)Zack Wrote: [ -> ]Yeah. PHP processes statements in a linear fashion, so you need to define $words before you can actually use $words.
:P
Sorry, I was busy and didn't have time to explain :P
its ok :) and lol xiofire gave me a more complicated version to use lol