Random php error?
3 posts
Page 1 of 1
Here is the error:
Any ideas?
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in DirectoryRemoved/file.php on line 2Here is the line it happens on (2):
Code: Select all
BTW * There is more code than I posted, not posting my entire script.<?php
$include "includes/z61.php";
$connect = mysql_connect($hostname,$dbuser,$dbpass);
if($connect)
Any ideas?
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that
You might be trying to use the include function on the second line.
If you are then it should look like this:
If you are then it should look like this:
Code: Select all
include("includes/z61.php");
mandai wrote:You might be trying to use the include function on the second line.Yea i accidentally had include as a variable :oops:.
If you are then it should look like this:Code: Select allinclude("includes/z61.php");
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023