Wamp Server 2.5 (PHP5.5) Cant activate sqlsrv module

PHP
I just updated my Wamp Server and got a problem now. My SQLSRV extension wont get loaded correctly. I dont know where the problem is exactly because ...
1 year ago

How to remove CURL time limit in PHP?

PHP
I am running a rather long script that fetches the contents of a specified domain and parses the html before running a series of tests on said html. A...
1 year ago

Query builder to orderBy (count of groupBy'ed rows) & get entries after X day ago

PHP
I'm creating a rest api with Lumen. I have pictures & picture_likes tables & models and I am trying to get most liked pictures. My Pictures ...
1 year ago

Detecting a palindrome in php

PHP
I am trying to create a program which determines if a string is a palindrome or not. This is the error i'm getting. Notice: Array to string conv...
1 year ago

Multidimensional Array to String

PHP
I am trying to convert a multidimensional array into a string with a particular format. function convert_multi_array($array) { foreach($array as ...
1 year ago

Error: Transport config "Smtp" is missing in cakephp 3.x

PHP
Transport config "Smtp" is missing in cakephp 3.x I have tried some of the configuration which are as follows: 'EmailTransport' => [ 'default...
1 year ago

submit an html form created from database using for loop

PHP
I am trying to make an online poll. Currently what i am trying to do is get input from a form on a different page and then display all the polls on th...
1 year ago

Calling a function from a string in C#

PHP
I know in php you are able to make a call like: $function_name = 'hello'; $function_name(); function hello() { echo 'hello'; } Is this possible in...
1 year ago

Validator: The value must be equal to the desired value

PHP
How can I check if the value passed is equals to my desired value in the validation phase. $rules = [ 'email' => 'required|email|max:2...
1 year ago

How can I make auto-increment columns non-auto-increment?

PHP
I am trying to create a table with this code. public function up() { Schema::create('BookInfo', function (Blueprint $table) { $table->...
1 year ago

Multidimensional Array to String conversion

PHP
I have a dynamic multidimensional array and I want to convert it to string. here is an example: Array ( [data] => check [test1] => Array ( ...
1 year ago

Element p not allowed as child of element dl in this context. (Suppressing further errors from this subtree.)

PHP
I'm getting following error when validating with W3C. "Error: Element p not allowed as child of element dl in this context. (Suppressing further erro...
1 year ago

How do I extract files without folder structure using tar

PHP
I have a tar.gz-file with the following structure: folder1/img.gif folder2/img2.gif folder3/img3.gif I want to extract the image files without the ...
1 year ago

Not able to update data in laravel 5.1

PHP
I am trying to edit and update data in laravel but it's throwing an exception MethodNotAllowedHttpException in RouteCollection.php line 219: I have se...
1 year ago

How to check specific word in the url?

PHP
Suppose I have 3 different urls. All are illustrated below. 1. http://www.example.com/foo/bar/index.php?id=1 2. http://www.example.com/bar/foo/index....
1 year ago

JQuery Autocomplete, populate with data from pHp json

PHP
I am returning a JSON encoded array: echo(json_encode($data)); from php and I would like it to populate the suggest box from JQuery autocomplete. I'm ...
1 year ago

Phalcon save not working

PHP
I'm fairly new to Phalcon, I really like it, currently working on my first project in it, however I'm currently coming across an issue with the ORM. ...
1 year ago

Select specific numeric value only in string

PHP
I need to isolate a numeric value in a string when i pull it from the database, a string would typically look something like "blah.blah_123". I need ...
1 year ago

Get intro image by ID from database (joomla)

PHP
I am trying to read the intro image from a joomla database. I have a list of products, that each need to show the intro image that matches the ID of t...
1 year ago

jQuery getting array from php json_encode

PHP
I created an array in php. I simply want to get the data it in jquery here is the array in support.php: $postData = array( "error" => $er...
1 year ago