920 Topics

Member Avatar for
Member Avatar for ANIMEXD

i am making api in PHP but i have some problems with cors(preflight) i know how the cors works, my problem is when i request the data from api with (fetch api) i get the response from the server(api) but it suppose to also send cookie for authentication purposes but …

0
76
Member Avatar for Ardi Daullja

hi there how can i browse virtual host created on webmin without useing domain? i know that in cpanel works like this : http://server-ip-address/~cpanel-name/

Member Avatar for Dani
0
30
Member Avatar for Priti_P

Hello, Sorry,This may be a silly question : How to assign ajax return value to javascript array? for example what I want is, I have declared an array in javascript as `all_skills = new Array();` and after that called ajax call in which I want to save the return value …

Member Avatar for Dani
0
12K
Member Avatar for televizori

hello daniweb members i have added custom post type in Wordpress that works like slideshow, all slides are clickable and open in products slug. how can i query posts subcategories that match with the slide clicked? code for custom post type is this add_action( 'init', 'products_post_type' ); function products_post_type() { …

0
81
Member Avatar for pankur820
Member Avatar for Dani
-1
125
Member Avatar for Alyana Diao

my system is savings account system, in which i tried to redirect to another php page with the same user id that i want to manage his/her account yet , when i deposit all of the users have the same fk, here is my code, hope you help me with …

Member Avatar for Dani
0
402
Member Avatar for AndreRet

My code executes as follow - 1) a Search page is loaded where session was already started, var-dump() shows the correct session info like username etc. 2) User enters a search value in a 3rd party script search box that forms part of my search page, I have no control …

Member Avatar for jkon
0
720
Member Avatar for ankushgarg

I am skilled in Core PHP, JavaScript, Mysql, Ajax, HTML, CSS, jQuery and Codeigniter and having 4+ years of experience in Web Development. I have very vast knowledge in dynamic and static website development.

Member Avatar for Dani
0
477
Member Avatar for Alyana Diao

to make our project finish, i need to get the data from the user who just log in(only his/her data) but i dont have any idea how, can someone help me...thank you very much! well appreaciated :) so this is the part where i need to add something so i …

Member Avatar for Alyana Diao
0
485
Member Avatar for Ryan_42

Can I relocate to a new url after click the ok button using sweet alert? this is my javascript file, where should I place here the code if its possible thank you $(document).ready(function() { $('#formA').on('submit', function(e) { //Don't foget to change the id form $.ajax({ url: 'includes/Aenduser.inc.php', //===PHP file name==== …

Member Avatar for Biiim
0
2K
Member Avatar for Qamar_2

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in F:\xampp\htdocs\ajax\server.php on line 55 // Retrieve comments from database $sql = "SELECT * FROM comments"; $result = mysqli_query($conn, $sql); $comments = '<div id="display_area">'; while ($row = mysqli_fetch_array($result)) { $comments .= '<div class="comment_box"> <span class="delete" data-id="' . $row['id'] . '" …

Member Avatar for EL AMRANI CH
0
181
Member Avatar for Janos_1

Hello, i have the following code: index.php <form role="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <label for="products">Product</label> <select id="products" name="products" class="user"> <?php require 'data.php'; $products = loadProducts(); foreach ($products as $product) { echo "<option id='".$product['id']."' value='".$product['id']."' selected>".$product['name']."</option>"; } ?> </select> <label for="bundles">Bundle</label> <select id="bundles" name="bundles"> </select> </form> Script <script type="text/javascript"> $(document).ready(function(){ …

0
191
Member Avatar for Ryan Angelo

I have a basic html here, where you could just submit the button through an action page, so it inserts the record into the mysql database in phpmyadmin, what I want to know is how to make it auto submit after 5 mins, while setting the blanks fields value into …

0
559
Member Avatar for praveen_29

Hi This is Praveen, I am working since 8years as a FrontEnd Developer with strong Knowledge in below mentioned Skills HTML 4 HTML 5 CSS CSS 3 JavaScript jQuery Bootstrap 3 and Bootstrap 4 Angular 2 to 8 React PWA (Angular and React) Require JS KnockOutJS NodeJS Magento 2 FrontEnd

Member Avatar for Dani
0
383
Member Avatar for zao2k

Hi, While I have some basic js coding skills and a few APIs uses in the past, I get stuck with one because it basically contains 3 calls. All async. Step 1 is pushing a file to the service and get back an ID in return. Step 2 is requiring …

Member Avatar for pankaj_patel
0
239
Member Avatar for Ccholic

I want to create a price-comparison website/web application and join affliate programs.My problem is, when I want to join for a company's affliate program,seems like every company asks for my website. How can I create a price-comparison website if I am not an affliate of any company?Can I create a price-comparison …

Member Avatar for Ccholic
0
495
Member Avatar for amby

Hi, I have to pass string entered in the input text to server method calling through jquery ajax. But its not going through. can please somebody tell me what i m doing wrong here. Below is the code: [CODE]$.ajaxSetup({ cache: false //timeout: 1000000 }); function concatObject(obj) { strArray = []; …

Member Avatar for anand9796
0
9K
Member Avatar for Syera_1

i wish to send another field together with my FormData, so after i googled it, they said to add append to my form data, done it. but it did not send anything to db including the content of the file. here is my code:- $('#upload_csv').on("submit", function(e){ var data = new …

0
230
Member Avatar for Daniel11

Hello Coders, I am working on ASP.NET Web Forms. In my page there is a GridView which should have a feature to upload multiple files at the same time to the server. Can you help me in implementing this feature. I want: 1. The files should be uploaded from the …

0
388
Member Avatar for Aleeza Smith

Hi everyone! i have a question that, if there are two radio buttons Male and Female, if some select male,this value will be store into database, but if he select again another value which is female,then how the first value(Male) will be replace by second value (Female) in the database …

Member Avatar for Dani
0
457
Member Avatar for JQB45

Does anyone here know MVC well enough to teach me or know of a great tutorial I can read? I'm a Senior C#, ASP.NET Web Developer at my core but since I've been under employed for a few years I have not had the chance to learn MVC. Also interested …

Member Avatar for Daniel11
0
548
Member Avatar for piotr.linski

I managed to get a certain PHP variable ($length) that contains the length of a message (stored in a MYSQL-database) to get passed to a javascript variable (var = length) in order to let javascript decide whether or not to show a certain marquee on a HTML-page. Initially I have …

0
291
Member Avatar for DanielKeith

Hello Guy's ! how to make a webpage load faster with a video inside the page?

Member Avatar for Rio Vaks
0
254
Member Avatar for aruneshdutta

Hello all wanted guidance on CMS(Content Management System) to be able to work with REST API for integrating REST API as needed for performing needed tasks.Kindly guide me with same

Member Avatar for rproffitt
0
407
Member Avatar for Maryam_8

**hello When I push submit the page refresh. Any suggestions to stop refresh ? I'm assuming it's something to do with the submit button but I can't figure it out this is my script :** <form id="form1" class="form-horizontal" method="POST" action=""> <input type="hidden" name="action" value="ajouter_reservation" /> <div class="modal-header"> <button type="button" class="close" …

Member Avatar for pankaj_patel
0
1K
Member Avatar for Rozanna

Hi, I have a form which consists a dynamic dependent dropdown and I want to maintain the entered data into the fields after the form is saved or edited. For an example: <input type="text" name="serial" value="<?php echo $serial;?>"> Similary i need to get the value in my dropdown as well. …

Member Avatar for harjinder007
0
1K
Member Avatar for aveeva7

My code about filterable audio searching, here how can i add Add-To-Cart functionality? code : index.php <?php //index.php include('database_connection.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Voice Repository</title> <script src="js/jquery-1.10.2.min.js"></script> <script src="js/jquery-ui.js"></script> <script src="js/bootstrap.min.js"></script> <link rel="stylesheet" …

0
324
Member Avatar for kesavankani

Hello Frds, select box option add new state in add.already same state in condition check already exist using php pdo.please help me.

-1
320
Member Avatar for kesavankani

Hai Frds, My question is i have create select box using state,district,city and town.select state box click add option select box change text box add/edit in text box add tha value save in state select box. How do please help me

Member Avatar for Dani
0
385
Member Avatar for alabamalox

browser application to draw, print the text. in programming language typescript. in not found google source... help! Help me find I need source code

Member Avatar for rproffitt
0
348

The End.