Hi,
Still have this error:
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\Database\DBAccess.php on line 43
All codes are below:
Regards,
<?php
namespace...
Hi jpadie,
<h3>
<a href="article()?id=%s\">%s</a>
</h3>
I take the above line from your code and change $id=%d for decimal like this:
<a href="article()?id=%d\">%s</a>
and put in my code and I still have this error:
Parse error: syntax error, unexpected 'article' (T_STRING) in...
Hello,
Please assist me to fix this calling function within printf();
I really appreciate,
Thank you in advance,
Best regards,
public function main()
{
// SQL to display the article part with number of comments and last date time of comments
$sql = "SELECT...
Hi,
I have a $id that needs to put inside the field userid of article table by using this function of PHP Symfony.
I really appreciate if someone can help me to fix my function.
Thanks,
public function submitAction($id)
{
print_r('UserID to enter is ');
print_r($id);
$message=''...
Hi all,
I would like to keep one variable in memory for
my next sql query.
mysql_connect('localhost', 'root', '')
or die("Mysql connection failed");
mysql_select_db("blog")
or die("Can't find database 'blog'");
$sql = "select * from user,article where article.userID=user.ID order by...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.