Search found 3 matches
- Sun Apr 24, 2016 12:28 pm
- Forum: PHP - Code
- Topic: Trying ot return the results of a prepared statement
- Replies: 3
- Views: 1775
Re: Trying ot return the results of a prepared statement
I abstract things behind classes or functions after I get them working. If the code isn't working when I use it directly then it's not going to work from inside of a class either.
- Sun Apr 24, 2016 9:56 am
- Forum: PHP - Code
- Topic: Trying ot return the results of a prepared statement
- Replies: 3
- Views: 1775
Trying ot return the results of a prepared statement
I'm trying to return the results of a prepared statement from a function. I'm using a work-around by converting it into an array first and then returning the array, but I'd rather cut out the middle man if I could. Problem is I'm running into errors when I try to do things this way. Here's the curre...
- Sat Oct 24, 2009 8:54 am
- Forum: PHP - Code
- Topic: How to stop error reporting
- Replies: 1
- Views: 111
How to stop error reporting
This segment of code is causing me problems: $q = mysql_query("select * from `calendar` where `month` = '".$this->month."' and `year` = '".$this->year."' order by `day` asc"); It generates the errors Deprecated: Assigning the return value of new by reference is deprecat...