just post the errors, and we can help. the errors php displays are very easy to debug.
Common errors would include:
- T_ENCAPSED_AND_WHITESPACE:
when you improperly use an array syntax inside of string
PHP:
echo "Hello $test['world']";
// or
echo "hello""world";
- unexpected T_ECHO/T_VARIABLE/T_FOR...
you forgot a semicolon on the line above where the error said it was.
PHP:
// t_echo
$var = "Hello World"
echo $var;
// t_variable
$var = "hello world"
$var2 = $var;
// t_for
$var = 'hello world'
for ($i=0;$i<5;$i++)
- unexpected $end
you still have a container tag open {} when the script is done executing
PHP:
if ($hello == "world")
{
for ($i=0;$i<5;$i++)
{
echo $i;
}
there's more, but those are the more common errors.
http://www.v-nessa.net/2007/12/07/common-php-errors