Data dodania Pytanie
2017-02-11 08:02 How can I connect to multiple databases in laravel for the same query? »
I want to execute a raw query which is related to all databases in laravel. So I don't want to point to a specific database. How can I do that in lara...
(2) odpowiedzi
2017-02-11 05:02 Is this how a PHP MVC Router class works? »
Introduction I want to know if this little bit of code is how PHP MVC-ish frameworks (Zend x, Laravel, Symfony x, CodeIgnighter, CakePHP, Yii, Slim, ...
(6) odpowiedzi
2017-02-10 18:02 Pass the chosen product variations data into Contact Form 7 enquiry form »
With WooCommerce, I use Contact Form 7 and Product Info Request plugins to add a form inside a single product pages, because I need a functionality th...
(1) odpowiedzi
2017-02-10 18:02 MethodNotAllowedHttpException not found when I paginate in Laravel »
Hello this is my first question here. I am using php laravel framework and I am getting this error MethodNotAllowedHttpException in RouteCollection....
(2) odpowiedzi
2017-02-10 16:02 Merging 2 associative arrays into 1 »
I'm having trouble merging my arrays and not sure what I'm doing wrong. Consider the following code: $array1 = [ [ 'job' => '123', 'who' =>...
(4) odpowiedzi
2017-02-10 13:02 Difference between Request (Facade) and Illuminate\Http\Request »
I'm starting to use Laravel and I would like to know how I should choose one over the other. As of version 5.0 Laravel documentation changed request...
(2) odpowiedzi
2017-02-10 12:02 Adding custom text labels to the prices when products are on sale »
On WooCommerce product single pages, if a product owns a sales price, the normal price is crossed out and behind it, the sale price is highlighted. ...
(2) odpowiedzi
2017-02-10 12:02 Facebook Open graph API showing extra information »
When I share my website on facebook, I got the information I set in my site as follow. <meta name="keywords" content="ICCOTP, COTP" /> <meta...
(1) odpowiedzi
2017-02-10 12:02 How to use session and redirect with facebook og properties »
I would like to share a page with image on facebook. I used below code and it is working perfectly fine for static images. <html xmlns="http://www...
(1) odpowiedzi
2017-02-10 10:02 Counting Empty Columns in Rows »
I have a property table and it has six columns. Users upload photo and image name is stored in the column. Now I want to count the number of columns ...
(3) odpowiedzi
2017-02-10 10:02 What is the best practice for adding constants in laravel? (Long List) »
I am rather new to laravel. I have a basic question, What is the best way to add constants in laravel. I know the .env method that we use to add the ...
(2) odpowiedzi
2017-02-10 10:02 TinyMCE disappears after save Widget in Wordpress »
first of all, sorry for my bad english, I'm from Germany. I just created my first widget. It's a widget that creates automatically a grid out of a l...
(0) odpowiedzi
2017-02-09 23:02 Laravel 5 error SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: NO) »
Sometimes (about every 20 request) I get this error. But the next (next second), the same request, is fine. I dont know why it failed the first one. S...
(1) odpowiedzi
2017-02-09 23:02 Arrange/distribute array items uniformly »
I have a multidimensional associative array with a type property. It looks like this: $data = array( array( "name" => "SomeName", "type" => "...
(8) odpowiedzi
2017-02-09 22:02 comparing session variable in where clause in mysql select query »
Hye developers, please sort me out, I have two php files, in the first file (login.php) I declared a session variable $_SESSION['email']; and assigned...
(3) odpowiedzi
2017-02-09 14:02 I am passing variable $input from controller to view in laravel and it shows an error undefined variable $input in View »
I am passing variable $input from controller to view in laravel 5.0 and it shows an error undefined variable $input in View. Can anyone suggest someth...
(3) odpowiedzi
2017-02-09 14:02 Extracting Site data through Web Crawler outputs error due to mis-match of Array Index »
I been trying to extract site table text along with its link from the given table to (which is in site1.com) to my php page using a web crawler. Bu...
(2) odpowiedzi
2017-02-09 12:02 Adding a discount by cart items conditionally based on the item quantity »
I have set up a Woocommerce shop and wish to set up a specific discount on all products based on multiples of 12 (a box). I've tried many discount plu...
(1) odpowiedzi
2017-02-09 11:02 Laravel queues not working »
I am using laravel queues for commenting on the facebook post. When ever i recieve data from facebook webhook, based on the recieved details i am comm...
(2) odpowiedzi
2017-02-09 10:02 3 Levels of Authentication / Middleware Laravel »
Scenario Im building an application that offers 3 levels of paid services but im not sure how to go about coding the 3 level functionality. So for e...
(1) odpowiedzi
2017-02-09 10:02 Symfony2 - How to use @Entity annotations in Controllers? »
Symfony's manual on ParamConverter has this example: /** * @Route("/blog/{post_id}") * @Entity("post", expr="repository.find(post_id)") */ public ...
(2) odpowiedzi
2017-02-09 08:02 rewrite wordpress url for specific page to remove trailing slash and add php extention »
I want to remove trailing slash for a specific page in Wordpress and do some another changes.for example I have this page : http://www.domain.com/pag...
(2) odpowiedzi
2017-02-08 23:02 Laravel. How to order by one field but first get items with specific value of another field? »
I got a database with entries. Each entry have start date and state fields. What I want to do is order entries by start date (done that) but first dis...
(1) odpowiedzi
2017-02-08 22:02 PhP/MySQL: how to dynamically change my (large and always changing) database »
Scenario I have a MySQL database with 10.000 rows. Setup of the database: ID UniqueKey Name Url Score ItemValue 1 5Zvr3 ...
(2) odpowiedzi
2017-02-08 15:02 MySQL : group by column and get date range »
I have a table like this id - price - date 1 - 10 - 01/01/2017 2 - 10 - 02/01/2017 3 - 10 - 03/01/2017 4 - 10 - 04/01/2017 5 - 10 ...
(2) odpowiedzi
2017-02-08 14:02 Wordpress echo something in for loop only once »
So I'm trying to print some labels only once, there are four labels per loop. So esentially i'm trying to loop through and print the labels once per ...
(3) odpowiedzi
2017-02-08 14:02 How to update the form dependencies for laravel 5.3 or 5.4 project which is already installed »
I have followed these steps, First, added your new provider to the providers array of config/app.php: 'providers' => [ // ... La...
(0) odpowiedzi
2017-02-08 12:02 Sphinx:Server sent charset unknown to the client. Please, report to the developers »
I'm using Sphinx 2.0.5 and while I call indexer through PHP, Im getting error Sphinx:Server sent charset unknown to the client. Please, report to the ...
(1) odpowiedzi
2017-02-08 10:02 Laravel Gate : Authorization doesn't work »
I am trying to make laravel basic authorization. I'm using gate for laravel authorization. Table structure User Table, Permission Table, Role, role...
(1) odpowiedzi
2017-02-08 09:02 sequence id increment with date - laravel »
I'm trying to create an increment number licence with the current date of the year + an increment number but i really don't know how to do this i know...
(4) odpowiedzi
2017-02-08 07:02 Enabling Payment method based on the customers location »
I don't know if it's possible, but, we would need to add some different payment methods for Barcelona. So, our idea is that if the customer lives in...
(1) odpowiedzi
2017-02-08 07:02 displaying pdf from arraybuffer »
I am returning stream data from laravel dompdf from this code $pdf = \App::make('dompdf.wrapper'); $pdf->loadHTML("<div>This is test</...
(3) odpowiedzi
2017-02-08 00:02 Display Arrays Data In Custom Order In PHP »
I want to show array data in custom order. My sample array is : ['a' => 'a', 'b' => 'b', 'c' => 'c', 'd' => 'd', 'e' => 'e', '...
(2) odpowiedzi
2017-02-07 23:02 How to get dataTable working with PHP »
I want to have my table beautifully display with sorting options. I'm using PHP to retrieve records from a MySQL database. I learn of datatables and s...
(2) odpowiedzi
2017-02-07 21:02 How to display user phone on my account page in Woocommerce? »
I want in my site to show registered user phone, but dont know how to do that. I Read all themes that i found on StackOverflow for that, but none of s...
(1) odpowiedzi