824 Recommended Topics
Remove Filter | |
I run the bridge game on a Monday evening and just recently I brought in a card dealer so the computer can select the cards and deal them into 4 hands. 20 sets of these hands and we can play for the evening. My problem is putting the dealt card … Web Development php | |
Hi, I have a small script that I wrote in jQuery and I would like to convert it to vanilla javascript so I can ditch jQuery for pages that use this script. jQuery(document).ready(function($) { $(document).on('click', '.wpstp_button_follow', function(e) { e.preventDefault(); $.ajax({ type: 'POST', url: ajaxurl+"?action=wpstp_follow", data: $('#wpstp_form').serialize(), dataType: "text", success: function(response) … Web Development javascript jquery | |
| For example: Http:localhost:8080/api/customer/{id} If I post in postman instead of Id a parameter it will work fine , But in html I’m asking the user for an input and than I want to pass the input in the path instead of the Id Is it possible ? Only spring boot … Web Development file-system html-css mysql sql |
Hey i'm trying to change the image without the id. We can't change html so i can't use an id. I have this: <figure> <img src="images/start.png" alt="start"> <figcaption>Nog geen thema gekozen</figcaption> </figure> And in my script: document.querySelector('src') = "images/mode.png"; I don't know how to select it and change it. Web Development javascript | |
I'm using the code below to get a random number of items from an array, but I'd like to just get 3-5 random numbers from the provide range to display. Right now, it either shows 1, all, or any amount in between. I'm also good with completely changing up my … Web Development javascript | |
ScanningI'm looking forward to implement a typical "nav" section for the articles in my website. Something like this: **Folder > SubFolder > SubSubFolder** To this end, I think that the best way is to create a database of two tables. The **first** one is called "*Category*": id - title - … | |
Hi, I have a form in React with few select/input components. Form doesnt get populated when user enters value in them. Thats the case when I want for input "Username" -> when user starts writing here some username, then React - in Reducer -> filters array of whole users in … Web Development javascript | |
Hi DW. Anyone knows how I can get the device name the browser is running on? I mean something like on the attached image with Javascript? ![FireFox_SendTo.PNG](https://static.daniweb.com/attachments/4/6cbee440f2043da722eba44bed14568b.PNG) Web Development javascript | |
I have some crystal reports that i would like to use PHP in order to execute the reports and then either view the reports in the browser as is or to generate PDF files. Does anybody know how to do this and what is required to be installed on the … | |
hi all iam working as software developer i wish to create my blog website using asp.net and C# so any one have idea so please help me in this Please thak you in advance Web Development asp.net | |
Hi - I am working with a windows OS created wordpress plugin unit testing code written as below <?php class Test_WP_Simple_Plugin extends WP_UnitTestCase { public function test_constants () { $this->assertSame( 'wp-simple-plugin', WPSP_NAME ); //Error line $url = str_replace( 'tests/phpunit/tests/', '', trailingslashit( plugin_dir_url( __FILE__ ) ) ); $this->assertSame( $url, WPSP_URL ); … | |
I browsed google and found nothing so thought i would put my efforts up here. hope this all helps. this function will allow you to return the number of days between two dates minus saturdays and sundays. (including the start date) Web Development javascript | |
Hi all I have uncountered a problem which has me totally confused. The problem is I have created a website with a login form. Everything so far has been working fine. but then when I try to login all of a sudden I’m hit with a "Object not found! The … | |
Dear sir any one help me on this code . inserting mutilple data in mysql table but i receive only 1 data row include("admin/db_connect/data_connect.php"); session_start(); //session_destroy(); if(isset($_POST['complete_order'])) { $_SESSION['cart'][]=array('quantity' => $_POST['quantity'],'fast_image' => $_POST['fast_image'],'menu_name' => $_POST['menu_name'],'price' => $_POST['price']); foreach($_SESSION['cart']as $keys => $val) { $implode=implode(",",$val); } $insert_data="INSERT INTO `customer_order` (`quantity`, `fast_image`, `menu_name`, … Web Development php | |
Hello i'm working on a small project that i have to retrieve movies data from a json API, then save the result into a csv. i'm able to display data with php eco but when i'm trying to write csv file i get the following Warning: array_keys() expects parameter 1 … Web Development javascript json php | |
## I am deleting item from cart through Jquery ajax,but it is not removing. It is returning "System.String[]". ## [WebMethod(EnableSession = true)] public string ClearItem(string Img) { try { if (Session["Items"] != null) { string[] session_item_arr = Session["Items"].ToString().Split('|'); for (int i = 0; i < session_item_arr.Length; i++) { string[] key_arr … Web Development asp.net javascript jquery | |
Hello DaniWeb Community, I am a newbie in PHP, but I tried to create a plugin for my CRM platform using API to get informations, but I get some errors: **Notice: Undefined index**. [Click here for an image with the errors.](https://i.gyazo.com/6926d234978766542f544ed1e31e465c.png). Here are the lines where I got the errors: … Web Development php | |
Hello, As the title says, my question is: how I can get the values for specific ID? For example, my plugin creates a PDF that automatically fills in with information that I get using API from my CRM platform. So, what I am trying to do now, is that in … Web Development file-system javascript php seo | |
| |
<! doctype html> <html> <body> <title> How to write a html file</title> <h1> how to write html</h1> <p> when creating a html file you make use of of your notepad </p> <h2> processing of html</h2> <p> when starting you make use of word like doctype, head, paragraph, body etc. You … Web Development html-css | |
Hi every one! I real like programming, but I dont know which language to learn to become a best programer. I just need advise becouse there are many languages out there. Thank you Web Development codeigniter | |
Hey, I'm trying to program a group-request system and now I'm struggling a little bit with the code. Well, I'll try my best to explain what I'm trying to do. ![requests.png](https://static.daniweb.com/attachments/4/c8beed25ef34924bc77f3007728ad5d3.png) I want, that when I click the accept button, ONLY the name from the person next to the accept … | |
hello all my name is rico, i want make some app like can combine number from input example : i have 4 variable like this $num1 = 96; $num2 = 20; $num3 = 19; $num4 = 37; so how can i get the result like this 9213 9217 9293 9297 … Web Development php | |
I want to create a login system in Codeigniter 4 like this so when the user has logged in on 1 browser / other device, and tries to log back in on another browser / other device then for the first login he will be logged out automatically examples like … Web Development codeigniter php | |
Hi, My insert funcation is added below, as in php 5.6 i was able to post array data to database using below funcation but in php 7 it was not working i spend hours to find an solution but nothing is working. Insert funcation public function insert($table, $data) { $formattedVals … | |
# filter cars according to their brands # *** ![filtrer.png](https://static.daniweb.com/attachments/4/999b4e6902a96108f372a91436f490d7.png) > hiplease help me to *filter the cars* that's the code of > index.php(displaying cars from database) <section class="gauto-offers-area section_70"> <div id="myBtnContainer"> <input type="hidden" name="marque" id="myInput"> <div class="row"> <div class="col-md-12"> <div class="site-heading"> <h4>Viens avec</h4> <h2>meilleures offres</h2> </div> </div> </div> <div … Web Development | |
When using checkdnsrr I get an Internal Server error. I am using PHP RPM on IBM i. Has anyone seen this error and could give me information on how to address it? <?php $domain="w3schools.com"; if(checkdnsrr($domain,"MX")) { echo "Passed"; } else { echo "Failed"; } ?> Error received when running scrip: … Web Development php |
The End.