Report
Question
I have this JSON incoming into a controller method: $data = $request->get('data'); // output // [{"key": " Needs Trim ", "value": "Two"}, {"key": "", "value": "empty key"}] It’s an array of objects and I need to to clean it before inserting it ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 11 views

Report
Question
I’m using block.io api in my localhost. I’ve tested basic wallet api which contains generating new address, getting balance of an address, withdraw and etc. All of them works fine but I’ve stuck at Real-Time Notifications API. I can’t get ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 4 views

Report
Question
I’ve installed mongodb through ssh to the server with sudo apt-get install php-pear php5-dev sudo apt-get install php-pear php5-dev sudo pecl install mongo sudo touch /etc/php5/cli/conf.d/20-mongo.ini sudo touch /etc/php5/fpm/conf.d/20-mongo.ini sudo touch /etc/php5/mods-available/mongo.ini Adding extension=mongo.so to each mongo.ini file and php.ini My mongo.so is located in the /usr/lib/php5/20121212 ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 5 views

Report
Question
My controler call a method who is requested the database and return the result. $connect = $this->connectBDD(); $rq = "SELECT naf, libelle FROM mytable WHERE naf ILIKE '$txt%'"; $t = $connect->prepare($rq); $t->execute(); $t->setFetchMode(PDO::FETCH_OBJ); $tab = array(); while($top = $t->fetch()) { $tab[] = ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 50 views

Report
Question
I’m trying to install PHP on Deepin 15.2 (based on debian unstable). I have php 7.0.9-1+deb.sury.org~precise+1 installed, but none of the extra extension like: php-curl php-mysql php-mbstring php-mcrypt and many more are loading. Are all installed but none is loaded. The loaded php.ini is about ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 5 views

Report
Question
How do I fetch all of the rows that have a duedate -1 days from current day? public function getNumTasksDueTomorrow() { $this->db->select('*'); $this->db->from('tasks'); $this->db->where("user_id",$this->session->userdata('user_id')); $this->db->order_by("tasks_id", "desc"); ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 34 views

Report
Question
I have encountered an issue when I try to implement SSL security to my wordpress website using the OktenWeb theme and CloudFW plus it has Adaptive Images Plugin installed. I believe I have identified the problem and it is listed ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 3 views