I need to hide dt if dd got empty value. how can i do that? <dt class="col-sm-6 text-dark" >Subject</dt> <dd class="col-sm-6">{{$course_
I have 45 - 50 array rowss that are deserialized json return values in standard PhP array string format, from cURL with data that looks like the following: Arr
I want to write Web services(REST) and Consuming using Curl in php. $books = array( "java"=>"222", "php"=>"333", "c"=>"111",
I am actually trying to make a 3D product configurator with verge 3D and have to create new WooCommerce products for every specific product configuration. Every
How do I return multiple values from the array returned from mysqli_fetch_assoc() in the code below? function db_query($sql){
Recently updated to PHP 7.1 and start getting following error Warning: A non-numeric value encountered in on line 29 Here is what line 29 looks like $sub
When ordering things by Alphabetical Order, I'm left with this: S1 Episode 1 S1 Episode 11 S1 Episode 12 S1 Episode 2 S1 Episode 3 S2 Episod
I need to be able to send image that is uploaded into form when hit submit it sends email. The problem that is happening is it sends email with text but photos
I am running into a problem rendering a star rating and was hoping I can get some extra eyeballs on my problem. I have the normal rating working just fine with
This is what is happening: I send data but and I have it coded to echo out on second page. However, it just echoes out on first page. How do I make it so it ech
I have a form that I use JavaScript to set the value of a hidden INPUT field which is the text of the OPTION selected. The $_POST captures the value of the OPT
The php.ini file in xampp is located here: C:\Windows for php.ini The phpinfo contains this information: Configuration File (php.ini) Path C:\WINDOWS
I have website running WordPress 4.6.2 and I can't use the visual editor right now, only the text editor. When I open the browser console it show various errors
I'm getting 500 Internal Server Error and I can't figure out the origin of the problem. This request is supposed to delete a comment with a certain id from the
I am having trouble sending the post variable to received in the PHP document in my server. I tried it with the GET and it works fine. But what I notice is the
I'm using the default notification system (Laravel 5.3) to send an email. I want to add HTML tags in message. This does not work (it displays the strong tags in
please, really need help with this problem. I have array of offerDays - $offerDays = array(1,6); (mean Monday, and Saturday); For example, input date is Wedne
check this please $user_id = (int)$_GET['user_id']; $sql = 'DELETE FROM users WHERE user_id=:user_id'; $query = $db->prepare($sql);
I am creating a PHP(Phalcon) project, using docker compose. The image is tailored based on the webdevops project. In our production, staging, and my own machine
Basically I want to pass a image file with ajax on submitting a form and retrieve the image and send it by email as an attachment file: Here'