Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
Just note
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
PHP PDO database class
>
All threads
>
Just note
>
(Un) Subscribe thread alerts
Subject:
Just note
Summary:
Just note
Messages:
2
Author:
Vaidas Visk
Date:
2015-06-04 17:16:54
1. Just note
Reply
Report abuse
Vaidas Visk - 2015-06-04 17:16:54
return $this->results()[0]; is allowed only in PHP >=5.4. It's called "array dereferencing".
instead you should use:
$temp = $this->results();
return $temp[0];
2. Re: Just note
Reply
Report abuse
mohammad anzawi - 2015-06-05 21:28:37 -
In reply to
message 1
from Vaidas Visk
Thank you for this good tracking :)
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2024
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger