Data dodania Pytanie
2017-03-18 23:03 How can I order a table in a loop depending on the highest number in a specific <td> »
How can I order lines of a table depending on the highest number in a loop like this : <?php while ($d = $data->fetch()) { $champs_files = fop...
(1) odpowiedzi
2017-03-18 22:03 Get each day of the week as columns MySQL and PHP »
I am writing a web application in PHP with MySQL. I have a table called counts and this is how data is stored in that table: Table: counts id co...
(1) odpowiedzi
2017-03-18 22:03 How to prepare for mySQL too many requests? »
Thanks for taking time to my problem. I am new to MySQL. My problem is I want to make many (about 1000 clients' requests) select/insert queries...
(1) odpowiedzi
2017-03-18 21:03 How to insert id to database from text input »
Hi I've been searching how to do this for over 2 hours so I'll ask here. I have an eventlineitems table with product_id. On the create form I want to...
(1) odpowiedzi
2017-03-18 21:03 PHP CURL getting 400 error in loop »
here the foreach loops returns a phone number which goes in the link but whenever I try to run this script it gives me the error 400 bad request. I ha...
(1) odpowiedzi
2017-03-18 15:03 How to limit a text by characters »
I have a PHP project ( Using laravel ) and I need to show just part of an article in the view . For example this is the full content of article : ...
(1) odpowiedzi
2017-03-18 14:03 Replace div contents with content from PHP file »
This is the php file containing the new content, to replace .hotels when the form is submitted. <?php if(isset($_POST['submit'])){ ...
(2) odpowiedzi
2017-03-18 12:03 How to work with Views without using PHP's "compact" function in LARAVEL »
I'm working on laravel to fetch data from database and store that data or array of data into the variable like $tasks store data of tasks table from d...
(3) odpowiedzi
2017-03-18 11:03 Get Wordpress page featured image into footer. »
I'm trying to display the featured image for a page inside the footer. I have the following code in my footer.php, but it's not displaying anything ...
(3) odpowiedzi
2017-03-18 10:03 how to remove question mark form url in laravel »
how to remove question mark form url in laravel i use laravel 5.4 and i get this trey to use query in the link but it don't work http://localhost/shoo...
(2) odpowiedzi
2017-03-18 02:03 How do I stop menus from being nested in a dropdown on Wordpress »
I'm using a theme called Esplande on a Wordpress install on my WIMP server. I have three Pages set up... an adult, a child, and a child of that child....
(2) odpowiedzi
2017-03-18 01:03 How to redirect to a different page after form submission? »
Right now after submitting my product submission form it just stays in the same page - and I would like to redirect it to a page like: example.com/pro...
(3) odpowiedzi
2017-03-17 20:03 Foreachloop accordion where the title closes every 2 and the body closes every 2 but are contained in a single row »
So I am trying to build a special accordion or collapse in this sense as it's Bootstrap, and I am having a hard time getting the code to cooperate. I...
(2) odpowiedzi
2017-03-17 17:03 Get the main parent product categories when a product has multiple categories »
Working on my company's Wordpress site which was originally set up by someone else. Here's a product page where you can see what I'm referencing... T...
(1) odpowiedzi
2017-03-17 15:03 Multiple array validation in laravel »
I have 3 type of data to validate data in group single data single and data in group combined This validation works for single data $validator = ...
(2) odpowiedzi
2017-03-17 14:03 Retrieve keys of an array of objects »
I have an object with 2 attributes: id and name (class name: MyObject): class MyObject { public id; public name; } And I have an array "MyObjec...
(2) odpowiedzi
2017-03-17 13:03 Can I use asynchronous timer in PHP and how to do it? »
I have an app with PHP(on websockets) and I need to create a few timers lasting three seconds each. When time is up in the timers, I change bool varia...
(3) odpowiedzi
2017-03-17 11:03 Laravel: orderBy a column with collections »
I need to OrderBy a column with collection. I need to orderBy(updated_at, 'desc') all posts which owned by current logged user. Here is my code : ...
(3) odpowiedzi
2017-03-17 02:03 How to understand request headers in Chrome DevTools? »
I've sent a http request with custom headers to a localhost page, and the result is as follow image. I used php to print out the requests. The printe...
(1) odpowiedzi
2017-03-16 21:03 Facebook signup not displaying message properly if user has already been registered »
The developer who made it is claiming that this is clearly because of an old PHP version in use. My current PHP version on my server is 5.2.17. I have...
(0) odpowiedzi
2017-03-16 18:03 Redirecting a wordpress blog »
I have a wordpress installation that is located in the root folder: mydomain.com This website has a blog that is directed to mydomain.com/blog What ...
(2) odpowiedzi
2017-03-16 18:03 Laravel where clause, and with a list of or's »
I want to create a where clause that is an and, with a list of or's. Here's my code: $searchLoop = array( 'u.Name', 'u.Email'...
(3) odpowiedzi
2017-03-16 17:03 Using phpcrawl with Laravel 5.4 »
I am trying to use cuab's PHPCrawl within Laravel 5.4 and have included it through composer using this package: https://packagist.org/packages/mmerian...
(1) odpowiedzi
2017-03-16 15:03 Double Passing Rows into MySQL Databases using PHP »
eBay Platform Notifications recommends periodic polling of the GetOrders API to ensure each and every order is received. In my case, I have Platform ...
(1) odpowiedzi
2017-03-16 15:03 Live video streaming from recording files over HTTP based on PHP »
I want to organize live streaming from recording files over HTTP based on PHP. INTRODUCTION: On the streaming server I writing video to local file(lo...
(0) odpowiedzi
2017-03-16 14:03 Woocommerce : How to add Variations tab in custom product type? »
I've installed a plugin for "Gift Cards", which is basically adding a product type "Gift card". I need to enhance its functionality. There are ot...
(1) odpowiedzi
2017-03-16 10:03 Sort Multi-dimensional Array by Value? »
Hi i will try multi sort array , display array list base on recent post values, i need order list please find my code and help with us. <?php $da...
(1) odpowiedzi
2017-03-16 09:03 CakePHP, jQuery - Add data attribute to anchor »
I'm looking for a way to insert a data attribute to my table anchors in CakePHP. It automatically generates the following code, but I have no clue on ...
(2) odpowiedzi
2017-03-16 08:03 Best practice to use same blade to add and edit content »
I'm creating a simple blog and I'm trying to use the same blade to edit and add article. I've managed to make it work but I think the way I'm doing i...
(1) odpowiedzi
2017-03-16 08:03 how to auto login after successfully registered in laravel 5.4.12? »
i want to make an auto login after successful registration and redirect to Edit Profile page.. I tried the following code but not working as i want c...
(3) odpowiedzi
2017-03-15 21:03 Fetch specific data from Database for a product »
I'm using WooCommerce and I need to fetch data from my woocommerce database: I know, I can get the regular price of an item with this code: $regPric...
(1) odpowiedzi
2017-03-15 19:03 Laravel Controller Dependency Injection »
I'm trying to do dependency injection in Laravel to keep my controllers and models as slim as possible. The goal is to have repositories to handle the...
(2) odpowiedzi
2017-03-15 09:03 Complex Laravel collection »
I'm having some issues with the Laravel Collection class. What I'm trying to do: I have a multisite solution in which a site has "facilitators". S...
(2) odpowiedzi
2017-03-15 08:03 implement DDD in MVC Frameworks - PHP »
in mvc the model is a layer and it's contain all the domain business logic. in domain driven design business logic can be divide into various building...
(2) odpowiedzi
2017-03-15 07:03 passing variable value from library to controller and then to view in CI 3.0 »
I'm trying to pass variable value from library function to controller and then view to get output. For that my library code : <?php ...
(2) odpowiedzi