Data dodania Pytanie
2017-01-05 12:01 Dynamically change the background image in CSS for different posts in wordpress »
Is it possible to change the background image called in CSS dynamically for different posts? In short, I am looking to show the featured image of a po...
(3) odpowiedzi
2017-01-05 12:01 Laravel Carbon Group by Month »
Can anyone see what I'm doing wrong? I'm trying to output all the months but group them so they are unique. $months = NewsItem::select(DB::raw('MON...
(3) odpowiedzi
2017-01-05 11:01 PHP mysql - Display comma separated value from the database in tabular form »
I am complete beginner I want to display comma separated values from database in tabular form From the below image link we can see how the data is ...
(2) odpowiedzi
2017-01-05 11:01 Using php regex to split string »
I've having trouble splitting this string into components. The example string I have is Criminal.Minds.S10E22.WEB-DL.x264-FUM[ettv]. I'm trying to spl...
(1) odpowiedzi
2017-01-05 07:01 remove duplicates values from array »
I have an array which looks like- Array ( [0] => stdClass Object ( [post_date] => 2017-01-04 14:28:00 ) [1] => st...
(1) odpowiedzi
2017-01-04 23:01 Customizing customer processing emails notification in WooCommerce »
I am very new to WordPress, and have created an e-commerce store with WooCommerce. After the customer places an order, I get an email and the custom...
(1) odpowiedzi
2017-01-04 22:01 DataTables for large CSV files »
I'm using datatables to display data from a CSV file. Some 60k rows. All works well apart from it obviously takes ages (over 70s) to display <?php...
(0) odpowiedzi
2017-01-04 21:01 With strict type hints enabled, array_map converts types anyways »
I've came across a really interesting bug in PHP 7.0.11 where declare(strict_types=1); enabled does not make the array_map() nor array_walk() aware of...
(1) odpowiedzi
2017-01-04 18:01 Rewrite from any query string after root to root in .htaccess »
I need my site to redirect all URLs with a parameter to a clean path: Have: http://example.com/?id=1 Want: http://example.com Why this? I am us...
(2) odpowiedzi
2017-01-04 13:01 PHP The uploaded file exceeds the upload_max_filesize directive in php.ini »
Before you mark this as duplicate, hear me out. I've tried all the suggestions I can find online. None works. I've restarted countless times. Detailed...
(4) odpowiedzi
2017-01-04 12:01 hasMany relationship issue in Laravel 5.3 + MongoDB library 'jenssegers/laravel-mongodb' »
I am using MongoDB library https://github.com/jenssegers/laravel-mongodb in Laravel 5.3. I have two collections in MongoDB and I want to make a hasMan...
(1) odpowiedzi
2017-01-04 11:01 Doctrine query builder gives wrong result »
I have two entities Person and Nursery and I have a ManyToMany relation between them with a JoinTable. I want to make this 2 sql queries : 1) Find a...
(2) odpowiedzi
2017-01-04 08:01 How to check php code for psr 2 validation in Netbeans »
Is there any Plugin in Netbeans for checking PSR2 Violation and fix the same. I tried adding php-cs-fixer.phar in Netbeans > Options > php >...
(0) odpowiedzi
2017-01-04 02:01 How to allow users to dynamically set the scheduled time for email reports within a web framework? »
Right now, I am using crontab to send out scheduled emails. The way I have been doing it is using a web framework like Django, CakePHP, or Laravel, a...
(1) odpowiedzi
2017-01-04 02:01 Object of class Carbon\Carbon could not be converted to int »
I have already search for this, and i did find some topics discussing this problem, however none of which I felt like was the way I want to go, so the...
(1) odpowiedzi
2017-01-03 22:01 Laravel Relationships -Trying to get property of non-object »
I am coding an RP cms and I am trying to do the following. So in my MySQL database I have two tables that are important to this question. srp_user_s...
(2) odpowiedzi
2017-01-03 21:01 Coldfusion pack(H* equivalent »
I am trying to emulate a php function in coldfusion. The Php output for the following; <?php echo (strtoupper(hash_hmac('SHA256', 'a cow jumps ove...
(1) odpowiedzi
2017-01-03 18:01 How do i pull in only the first and third Tuesdays of current month into a form field in PHP? »
I have a Gravity Form currently on a Wordpress website that pulls in every Tuesday of the current month. I am looking to modify this code that I curre...
(1) odpowiedzi
2017-01-03 14:01 Check for the status and the verified email in laravel »
In my laravel project I am checking for status and verified_email after login.but shows the error for username password not match only do not checking...
(1) odpowiedzi
2017-01-03 12:01 Get post query via selected category in WordPress »
I have a function that gets post in the category selected, it seems to work except for the latest post. The latest post will not show, it only shows ...
(2) odpowiedzi
2017-01-03 10:01 Where to run complex algorithms? Sever side or Client side? »
I am trying to develop an social networking android application which contains huge database of users. I am very new to Android App development and tr...
(6) odpowiedzi
2017-01-03 10:01 Laravel 5.3 Multi Authentication setup »
I would like to use laravel 5.3 authentication for two different tables. How would it be possible by using laravel authentication? I have setup auth....
(3) odpowiedzi
2017-01-03 10:01 Laravel - force logout of specific user by user id »
I use Laravel 5.2. I want to know how can I force a user to logout by id? I'm building an admin panel with the option to dis-active specific user ...
(1) odpowiedzi
2017-01-03 08:01 Site becomes inaccessible due to PHP-FPM listen queue, CPU touches 100% »
I've been racking my brains apart trying to solve this issue that comes up randomly every few hours on my production server hosting a single Wordpress...
(0) odpowiedzi
2017-01-03 07:01 PHP - Encapsulation when referenced in function scope »
I was going through the PHP 7.0 changes and came across Closure Call. The code in the documentation is the following. <?php class A {private $x =...
(1) odpowiedzi
2017-01-02 23:01 Using ng-repeat to loop through an array that is formatted like a string »
I have recently started adding Angular to an old app I made. Part of the app stores a json encoded array in a single cell in a mySql table. I know thi...
(3) odpowiedzi
2017-01-02 19:01 remove_action From PHP Class »
I'm attempting to remove an action and add it with a different priority. Below are all the code snippets that assist in generating a Message: Include...
(1) odpowiedzi
2017-01-02 19:01 Laravel pluck and findOrFail not returning correct row »
I am using the Gate facade to check whether a user can delete a row, or not. Gate::define('delete-cons', function ($user, $cons) { $c_id = ...
(1) odpowiedzi
2017-01-02 18:01 PHP/MYSQL - Drop database using prepared statement »
I would like to drop a database using PDO. This approach was the best one to me function delete_db($database) { $statement = $my_pdo_obj->prep...
(2) odpowiedzi
2017-01-02 17:01 How to get the access token of Facebook app via curl »
I'm trying to get the access token of a Facebook app by calling the callback url via curl. In the first function, I'm trying to constrcut the login ...
(0) odpowiedzi
2017-01-02 17:01 Laravel nested relationship query »
Question: How to get best 3 organizations according to column General in Review, together with other related data(User, Address, City, Country, Review...
(0) odpowiedzi
2017-01-02 15:01 csrf token doesn't match in form re-submission through browser's refresh button »
I have a csrf token that I send within a form and also store it in the session so I can verify if they are equal when the form is submitted. The csrf...
(1) odpowiedzi
2017-01-02 14:01 Error establishing a database connection - WP host changed password »
I changed my SQL password through my webbhost. After that I found out that I couldn't enter my website anymore. I'm 99% sure it has to do with the log...
(1) odpowiedzi
2017-01-02 10:01 Data parsing error in facebook response »
I am trying to get friends profile pic in latest facebook api. $request1 = new FacebookRequest( $session, 'GET', '/me/invitable_friends?fields=id,nam...
(0) odpowiedzi
2017-01-02 10:01 Line break in PHP Table »
I have a little display problem on my project. The fact is that I want to display some information (column types of an sql request SHOW Columns btw) ...
(3) odpowiedzi