Hi mr webslesson plz come up with any cms like wordpress.
@webslesson5 жыл бұрын
Thanks for feedback, we will look into it.
@TheWizardEngineer4 жыл бұрын
how to make shopping cart in laravel and ajax. if you got a link put it down
@longsuabc2 жыл бұрын
Where is source code?
@webapplicationguide37985 жыл бұрын
It's 2019, There are still people who are combining HTML , Javascript. Bad thing is including HTML with PHP. You might say this is just to demonstrate the topic I have included HTML with PHP. But, There are so many people who will just replicate this idea. The real pain comes while debugging this kind of code... To be frank irritating !! Please my dear learners, understand the topic. don't just replicate the code snippet...
@abdulwadudmoro28805 жыл бұрын
Please do this for me. Help me create a comment to a specific post on wall
@freeblackbeauty14185 жыл бұрын
Hi Webslesson team Sir I have a big problem in a project inventory management which is how to show quantity in stock when i select order product , I tried this solution but it did not work -----------------------------------order.php $('#product_id').change(function(){ var product_id = document.getElementById("product_id").value; var btn_action = 'load_qte'; $.ajax({ url:"order_action.php", method:"POST", data:{product_id:product_id, btn_action:btn_action}, success:function(data) { $('#qte_stock').html(data); } }); }); html += ''; html += ''; html += ''; html += ''; html += ''; ----------------------------------------order_action.php if($_POST['btn_action'] == 'load_qte') { $output=' $qte = available_product_quantity($connect, $_POST["product_id"])'; }; echo $output; Where is the problem -------------------------------------------------------------------------i have this ugly solution-------------- which to add qte to select function fill_product_list_qte($connect) { $query = " SELECT * FROM product WHERE product_status = 'active' ORDER BY product_name ASC "; $statement = $connect->prepare($query); $statement->execute(); $result = $statement->fetchAll(); $output = ''; foreach($result as $row) { $product_id= $row["product_id"]; $qte = available_product_quantity($connect, $product_id); $output .= ' '.$row["product_name"].' --> '.$qte.' '; } return $output; } thank you a lot Balaj Ovidiu