Data dodania Pytanie
2017-04-22 23:04 How to order in Laravel high to low , low to high products - by price with this code? »
How to order in Laravel high to low , low to high products - by price with this code? I got it all for a default presentation but i want to add 2 link...
(0) odpowiedzi
2017-04-22 22:04 Add the product description to WooCommerce New Order email notification »
How to add product description/content of single product page (not the short description) to WooCommerce new order email notification? I need to kno...
(1) odpowiedzi
2017-04-22 17:04 Laravel 5.2 Display each users posts they've made this week as count »
I'm trying to display a list of all the users and how many posts they've each made this week, and how many they've made last week, inside of a form I...
(1) odpowiedzi
2017-04-22 16:04 Getting multiple PHP variables into a Javascript array »
In my form, I have a lot of input type="radio" fields, which are generated by PHP looping codes. Each has its own name, which is an array. The values ...
(1) odpowiedzi
2017-04-22 15:04 In codeigniter How to redirect after login using ajax »
I have a login popup Modal. and i am logging through ajax Modal <div class="modal-body"> <form action="<?php echo base_url...
(4) odpowiedzi
2017-04-22 15:04 How to convert array first value as key and second value as value »
Hi I am working on some array operations. I need to convert first value of array as key and second value of array as value. I have one variable $tes...
(2) odpowiedzi
2017-04-22 14:04 AJAX + jQuery + Datatables plugin - add custom column to requested ajax data? »
I am pulling data via AJAX / PHP into a table and want to display the data via the DataTable JS plugin. The data query works well, but now I would lik...
(1) odpowiedzi
2017-04-22 13:04 Serve mp3 file from laravel for iOS AvPlayer »
I am able to serve my mp3 file from a controller, but the file served from my controller will not get played in ios AvPlayer (using url). I'm sure tha...
(1) odpowiedzi
2017-04-22 11:04 How to call ajax in wordpress »
My ajax call output is always showing 0 as output don't know why In functions.php I have this code function get_data() { $abc = '1'; $resul...
(3) odpowiedzi
2017-04-22 04:04 How to seed pivot table in Laravel 5.4? »
I am following a tutorial called Incremental API in laracasts by Jeffrey Way. There is a different coding between Laravel 4 faker class seeding and ...
(3) odpowiedzi
2017-04-22 00:04 Does PHP have an equivalent to ColdFusion's QueryNew? »
I'm migrating from ColdFusion to PHP and have an application that uses ColdFusion's QueryNew function to dynamically build what is to me basically an ...
(0) odpowiedzi
2017-04-21 21:04 Can't decrypt using pgcrypto from AES-256-CBC but AES-128-CBC is OK »
I have problem decrypting data in pgcrypto that was previously encrypted in PHP app. I tried 3 types of encryption: 1) mcrypt - RIJNDAEL 128 CBC 2) m...
(1) odpowiedzi
2017-04-21 18:04 Laravel | ask password for certain actions »
In my laravel 5.4 project there is a payment form upon submitting which I want to show a dialog asking the logged in user's password(for additional se...
(2) odpowiedzi
2017-04-21 17:04 How do I check if Bcrypt password is correct? »
I was using md5 to hash my passwords but learned that using bcrypt was more secure. When using md5, it was easy to check whether a password entered i...
(2) odpowiedzi
2017-04-21 16:04 Laravel 5.4 using Geoip »
I am trying to use the antonioribeiro/tracker package for Laravel, but in order to get geoip you have to either to install geoip v 1.14 or 2. After i...
(1) odpowiedzi
2017-04-21 15:04 Include external files in functions.php WordPress »
In my WordPress I have a functions.php file containing 1500 lines of code. Most of this code comes from a program I wrote that connects to an API an...
(2) odpowiedzi
2017-04-21 15:04 disable last column sorting in datatable js »
Guys I am using below given API for table display and do't want to sort last column . https://cdn.datatables.net/r/bs-3.3.5/jqc-1.11.3,dt-1.10.8/datat...
(1) odpowiedzi
2017-04-21 15:04 Regular Expressions If Else »
I have a string: /foo/{bar}/{baz?} Now i want to extract all words inside the {...}. But on the word with the "?" i want to select not only the {...}...
(1) odpowiedzi
2017-04-21 13:04 Including a stylesheet in functions.php »
For some reason my stylesheet isn't being included on my webpage. I'm new to php so maybe my code is wrong. This is how I've tried to do it; function...
(2) odpowiedzi
2017-04-21 11:04 How to login same user in laravel when login in wordpress? »
Is there any functionality or plugin that login user in laravel when we login in word press. How we intract wordpress with laravel. Both apps use same...
(2) odpowiedzi
2017-04-20 21:04 How to display a jpeg as the source attribute of an IMG tag, returned by a PHP file, using jQuery »
I have to admit, that as a neophyte, I don't even properly know how to ask my question. Here goes though. Context: I have a registration script writt...
(2) odpowiedzi
2017-04-20 18:04 How to get data from a line and move to a modal? Laravel 5.4 »
I have a table where listo products from my database, in it I have ID, name, description, among other data types. I created a button that would call a...
(2) odpowiedzi
2017-04-20 17:04 WooCommerce Bookings: Retrieve the booking data before order is created »
I am using WooCommerce Bookings plugin and I currently looking to display additional information in the booking summary (product options). To do thi...
(1) odpowiedzi
2017-04-20 15:04 Merging a SELECT query and a SELECT COUNT query »
I have a table (associations) in MySql with unique and duplicate keys: id | key 1 | a 2 | b 3 | b 4 | c 5 | d 6 | d And I have a table (produ...
(3) odpowiedzi
2017-04-20 14:04 isset fatal error in 5.6 but fine in 7 »
This snippet of code causes a PHP fatal error in 5.6, but works fine in 7.0 and above. There is no documented change to isset that I could find statin...
(0) odpowiedzi
2017-04-20 13:04 laravel slow query issue »
I want to optimize my query I am executing with Laravel. I'm using MySQL for my project and I have a table named locations. It has more than 2 million...
(2) odpowiedzi
2017-04-20 11:04 How remove multiple substring from two tags »
Gived a string so formed: hello Rose <tag> Micheal </tag> and <tag> July </tag> John. I want remove all between <tag&gt...
(2) odpowiedzi
2017-04-20 11:04 How to get the first data in iteration php »
I have a list of data.I need to add the first one as the title. How can i get the first one and add the propery for heading. View <ul class="l...
(3) odpowiedzi
2017-04-20 11:04 how to make wordpress attribute mobile responsive »
I have the word press website in which product tag and product category is mobile responsive for ex http://shopperzshop.com/product-category/casual-s...
(2) odpowiedzi
2017-04-20 11:04 How to get json response from internal api request in laravel? »
My route file (routes/api.php) : Route::group(['middleware'=>'cors', 'prefix'=>'v1/'], function(){ Route::resource('users', 'UserController...
(2) odpowiedzi
2017-04-20 02:04 get 3 peole have higher value from sql »
i have a table look like at the top. i want to show the 3 students that have higher value, i have tried command $higher= mysqli_query($connection,...
(3) odpowiedzi
2017-04-19 23:04 Removing Duplicates from complex MySQL Select Query »
All my projects are stored in the com_projects table. Each project can have multiple locations, which are stored in the com_location table. The com_...
(1) odpowiedzi
2017-04-19 22:04 How to convert a string to a number in php to sort in right order »
With the below code I get the time left to arrival from an API with [DisplayTime] . $output .= "<ul><li><strong>" . $metro['Displa...
(1) odpowiedzi
2017-04-19 18:04 Facebook API Get Location's info »
I am using the Facebook PHP API V2.9 and want to get the user's location city, country_code, latitude, etc. Permissions for the app are granted by Fa...
(0) odpowiedzi
2017-04-19 15:04 Is it safe to store sensitive data in JWT Payload? »
I'm currently learning JWT implementation with PHP and want to use JWT tokens instead of sessions for my RESTful application. During signature creati...
(3) odpowiedzi