var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
whats wrong with this simple code?
I have this code in the head tag of my site, but for some reason test.txt is being inluded on all pages, can someone tell whats wrong with my code?
if ($_SERVER[PHP_SELF] = "2.php")
you mangled variable assignment with boolean operation.
if ($_SERVER[PHP_SELF] == "2.php")
everyday is deadline
== means compare
if ($_SERVER['PHP_SELF'] == "2.php")
= means assign
You should always quote your array keys. Unquoted text is considered a constant.
In order to understand recursion, one must first understand recursion.
If you feel like it, you can read my blog
Signal > Noise
thanks guys. its working now!