Data dodania Pytanie
2017-01-06 17:01 Change the user role on purchase for specific products when order status is completed »
So I helped someone launch a site and they wanted a discounted product when someone purchased a specific product. I found a solution and implemented i...
(1) odpowiedzi
2017-01-06 12:01 How to redirect after downloading pdf using fpdf »
Is there any approach to redirect to certain route/ refresh current page after download the pdf? I've tried to return an URL but it just goes to the u...
(1) odpowiedzi
2017-01-06 11:01 How can I include a PHP file in Wordpress that is outside of my theme but on the same server? »
Wordpress is installed in a directory called 'blog' on my website and it uses a custom theme: mysite.com/blog/wp-content/themes/mytheme/ I would...
(2) odpowiedzi
2017-01-06 11:01 Laravel 5.3 Update with string containing question mark »
I am currently trying to do an update to a field in my database. It is a simple text field and I am having issues if the string contains a question ma...
(0) odpowiedzi
2017-01-06 10:01 403 forbidden error while sending messages to facebook connector through Unification Engine API »
I am using unification engine #unificationengine API to post message on facebook. I followed all the steps and created connections to use connectors. ...
(1) odpowiedzi
2017-01-06 10:01 PHP Fatal error: method_exists(): The script tried to execute a method or access a property of an incomplete object Laravel 5.3 »
The problem is that I have two Laravel projects working on Laravel 5.1 and 5.3 and sharing common database. Both projects are placed on different subd...
(1) odpowiedzi
2017-01-06 10:01 SQL multiple OR chain query »
I have a single table where I am attempting to access rows via a simple SQL query I think, however, I am misunderstanding the way the OR modifier tech...
(2) odpowiedzi
2017-01-06 10:01 can't access object laravel 5.3 »
I am using laravle 5.3 mailables for sending emails.I want to pass data to view via with method. I have create a mailable MytestMail.php <?php n...
(2) odpowiedzi
2017-01-05 23:01 WordPress Filepath Link Change »
Okay. This is a big one, so bear with me. GoDaddy allows you to create multiple WordPress installations on a single domain. The way I have my client...
(0) odpowiedzi
2017-01-05 22:01 Facebook Graph API to Post to Page not working on new server »
So I have been using the below code on my shared hosting server and it has been working fine but now we have moved to a dedicated server but this scri...
(1) odpowiedzi
2017-01-05 20:01 Delete/detach first pivot table records »
Case Laravel 5.3 Having a pivot table between Cart & Product with an additional column: id - cart_id - product_id - item_id (additional colum...
(1) odpowiedzi
2017-01-05 19:01 Laravel - query builder - left join polymorphic relationship, distinct only »
So I'm using Vue 2.0 and Laravel 5.3 to create an application. I've implemented my own sortable table with Vue, using the built-in pagination provid...
(2) odpowiedzi
2017-01-05 18:01 Laravel Eloquent ORM whereHas with a foreach loop »
Here are the relationships: A user has many skills, there is a join table user_skills. I need to search this table to return the profiles that have t...
(1) odpowiedzi
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