0
help to the find error ...urgent please (newbie)
<? php include 'database.php'; ?> what is the error in this as it says Parse error: syntax error, unexpected 'include' (T_INCLUDE) in /Applications/XAMPP/xamppfiles/htdocs/HiraganaApp/index.php on line 1 what exactly it means Parse error: syntax error, unexpected 'include' (T_INCLUDE)
5 Answers
+ 3
I'm not able to help you, but i wanna ask, what were you planning to do with this hiragana app? (newbie japanese learner)
+ 3
isn't the correct syntax like this?
include("database.php");
+ 2
Well, here is some error and performance issue. At first there is an space between ? and PHP in tag. and also when using file not view use require or require_once or include_once. It will be like
<?php include_once "database.php"; ?>
0
well i'm trying to create a single page app where people can learn japanese hiragana langauge,
for an assignment
0
Still shows the same error..