918 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for no_642

Google Analytics is hard to read and want to find easy alternatives.

Web Development seo
Member Avatar for Dani
1
112
Member Avatar for ChrisJ

I've added a SweetAlert into an existing upload Form, where upon selecting the Submit button it successfully displayed the pop-up alert. Like so: $('#submit-btn').on('click',function(e){ e.preventDefault(); var form = $('.pt_upld_page_frm'); swal.fire({ title: "Are you sure?", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Yes, submit it!", closeOnConfirm: false }).then((result) => { if …

Web Development javascript jquery
Member Avatar for SolidSolutions
0
127
Member Avatar for Stefce

I have a website that have 6 videos from +500MB to +1GB i have uploaded them my other hosting which is not same as the website thinking it would not have lag. But it seems it has lag and its loading slow. What solution do i have to host my …

Web Development hosting javascript video
Member Avatar for Stefce
0
168
Member Avatar for IQBAL_13

Thank you for looking at this problem, details are all below. Below is the code <form style="overflow: hidden;" method="post"> <input type="checkbox" aria-label="Checkbox for following text input" name="kursus[]" value="<?php echo $row['IDKursus']; ?>"> <div class="d-flex justify-content-between mt-3"> <button type="submit" class="btn btn-success" name="daftar_kursus">Daftar Kursus</button> <button type="reset" class="btn btn-primary">Reset</button> </div> </form> if (isset($_REQUEST['daftar_kursus'])) { …

Web Development mysql php table
Member Avatar for Dani
0
148
Member Avatar for IQBAL_13

I have a programming code problem, I need help to solve the problem. How to explode data array using MYSQL and using NOT IN. The program code is below <form style="overflow: hidden;" method="post"> <div class="table-responsive"> <?php $sql = "SELECT * FROM kursus WHERE KodKursus NOT IN (SELECT kursusList FROM pensyarahkursus …

Web Development mysql php
Member Avatar for Dani
0
139
Member Avatar for ChrisJ

I'm trying to add something to this JS, for a successfully working submit Form: $('#upload-form form').ajaxForm({ url: '{{LINK aj/ffmpeg-submit}}?hash=' + $('.main_session').val(), beforeSend: function() { $('#submit-btn').attr('disabled', true); $('#submit-btn').val("{{LANG please_wait}}"); }, success: function(data) { if (data.status == 200) { window.location.href = data.link; } to get a message to display before the Form …

Web Development javascript
Member Avatar for Vijay_34
0
79
Member Avatar for johnaplus89
Member Avatar for Rohit_63

Hey everyone, I have started a new position as an HR recruiter in a Website Development Company, can you guys suggest to me some questions I can ask fresher as well as experienced candidates?

Web Development css mysql
Member Avatar for Dani
0
51
Member Avatar for John_165

I want to display name,description and image in `GridView.` export default function NFTViewer({ }) { const [galleryList, setGalleryList] = useState([]); const metadata = []; const cardActions = []; const [data, setData] = useState() useEffect(() => { const getNFTDetails = () => { fetch("http://localhost:4000/getDetails").then(response => { return response.json() }) .then(posts => …

Web Development javacsript react-js
Member Avatar for AndreRet
0
43
Member Avatar for borobhaisab

Good Evening People, No matter what I do in mysql, why I get this following error where the rows do not get deleted ? **Error SQL query: Copy Edit Edit DELETE FROM `phpmyadmin`.`pma__column_info` WHERE db_name = 'buzz' AND table_name = 'submitted_links_index2' AND column_name = 'title' MySQL said: Documentation #1142 - …

Web Development mysql
Member Avatar for Reverend Jim
0
79
Member Avatar for borobhaisab

Hello Php Programmers, I want to open iframes, more than one, to some of my webpages from other webpages. What do I need to be careful off so no crook injects anything malicious on my site or on my visitors' clientsides ? Q1. Which of these attributes, mentioned in the …

Web Development html iframe php
Member Avatar for Dani
0
203
Member Avatar for Rico_2

hii, i want to ask how to loop this array for menu like in images public $list = [ [ 'id' => 'dashboard', 'text' => 'Dashboard', 'icon' => 'feather-home', ], [ 'id' => 'data_tables', 'text' => 'DataTables', 'icon' => 'feather-layers', 'children' => [ ['id' => 'basic', "text" => "Basic"], ['id' …

Web Development css mysql php
Member Avatar for AndrisP
0
122
Member Avatar for Dani

A couple of years ago, I began using a Cloudflare worker to track my Googlebot traffic in Google Analytics. The initial code I used, and thought process to get there, is [here](https://www.daniweb.com/digital-media/digital-marketing/threads/522837/bot-traffic-in-google-analytics), but here's what my code looks like today: const analyticsId = 'UA-98289-3' addEventListener('fetch', event => { event.passThroughOnException() event.respondWith(handleRequest(event)) …

Web Development async cloudflare
Member Avatar for Naor
0
127
Member Avatar for aveeva7

I need like, http://www.trackcourier.in/ The customer chooses selected courier service and enters tracking id then clicks its redirect to the appropriate courier service website. eg: If tracking id 12345 the redirect link should be https://www.fedex.com/apps/fedextrack/index.html?tracknumbers=12345&cntry_code=in How to do for India courier services?

Web Development php
Member Avatar for Dani
0
558
Member Avatar for Blue Visionary

I am using gabrielbull/ups-api for validating user address if a user provides an address I verify weather the address is correct or not I am using a got and getting a response which is quite difficult for me to access the data here is what I am getting in return …

Web Development codeigniter php
Member Avatar for Dani
1
74
Member Avatar for ChrisJ

This php statement works successfully: if (empty($error) && $_POST['set_p_v'] == 0 && $wallet >=1) { //echo '<script type="text/javascript"> $("#myModal").modal("show")</script>'; $db->rawQuery("UPDATE ".T_USERS." SET `wallet` = `wallet` - 0.50 WHERE $wallet = $user->wallet"); } as you can see I tried to echo a modal when conditions were met, but no success. No …

Web Development javascript jquery php
Member Avatar for Dani
0
95
Member Avatar for onurs
Member Avatar for Stefce

I have been getting this kind of results in google search console i cannot clean them i guess my website is affected with malware. Can you guys help? https://prnt.sc/ufx9bEOoZka8

Web Development seo url
Member Avatar for Dani
0
565
Member Avatar for Virat_4

This is how I want it to work. 1) First day. It goes to all questions that are asked within last 14 days. 2) It picks each question. Then it RANDOMLY picks 25 users and clicks on "+" to request. 3) It does this for each and every questions asked …

Web Development javascript php
Member Avatar for Naor
0
223
Member Avatar for ChrisJ

This works successfully: $wallet = $user->wallet; $upwallet = ($sell_video == 0 && $wallet >= 1 ? 0.5 : 0); $db->rawQuery("UPDATE ".T_USERS." SET `wallet` = `wallet`- '".$upwallet."' WHERE `id` = '".$video->user_id."'"); (when the sell_video amount is 0 and the wallet amount >= 1, deduct 0.5 from the wallet). Works successfully. I'd …

Web Development ajax database php
Member Avatar for gce517
0
104
Member Avatar for Marek3000

Hello! We are getting together for a new project, to build a 2-way API connectivity tool for programmers experimenting with new forms of e-commerce, and merchants operating across a range of e-commerce platforms. We would be grateful for any programming language choosing tips. We are looking for an experienced Full-stack/API …

Web Development javascript
Member Avatar for Dani
0
99
Member Avatar for Virat_4

**Promises syntax that I learnt:** let p = new Promise(function (resolve, reject) { let x = 20, y = 20; if (x == y) { resolve(); } else { reject(); } }) p.then(function () { console.log("that's correct"); }) .catch(function () { console.log("that's not correct"); }) I don't even understand what …

Web Development javascript
Member Avatar for Naor
0
65
Member Avatar for pranay1995

So I'm new to php but I've managed to create a drop-down that fetches products and displays them, I want to display quantity in the drop-down below it and I have set that up too it fetches other data if the query is modified. The problem is I don't know …

Web Development mysql php
Member Avatar for Dani
0
57
Member Avatar for borobhaisab

Hi, Are these MySql queries (with Php) correct ? Wild Card match. Fuzzy Match query. Imagine there are 7 columns in the Mysql table. $sql = "SELECT * from $tbl WHERE $col_1 LIKE ? OR $col_2 LIKE ? OR $col_3 LIKE ? OR $col_4 LIKE ? OR $col_5 LIKE ? …

Web Development mysql php
Member Avatar for borobhaisab
0
294
Member Avatar for Stefce

I am trying to open a camera on a browser with javascript i have this code and it was working yesteday but when i tried today to open through mobile its saying `NotAllowedError: The request is not allowed by the user agent or the platform in the current context.` <button …

Web Development javascript
Member Avatar for Stefce
0
221
Member Avatar for Stefce

I want to get the direct link from the file in my other hosting. Is this possible? Or i must buy domain name and upload the files there to get the link? I will use this hosting to upload videos and link to them from my website. This way ill …

Web Development php
Member Avatar for Dani
0
54
Member Avatar for Stefce

I am trying to insert the current `time()` and `$_SERVER['REMOTE_ADDR'];` into my database I have this code <?php require_once("../core/core.php"); $user_time = time(); $ip = $_SERVER['REMOTE_ADDR']; $sql = "SELECT * FROM userinfo WHERE ip = $ip"; $result = $conn->query($sql); if(!$result) { trigger_error('Wrong SQL: ' . $sql . ' Error: ' . …

Web Development php
Member Avatar for Stefce
1
65
Member Avatar for borobhaisab

Php Programmers, Getting to build a login page using the php's password_verify_() function. Issue is, no matter if I give correct password or incorrect, I always get message 'Incorrect user Credentials'. Why is that ? The details on Mysql Looks like this: id | domain | password 0 | gmail.com …

Web Development mysql password php
Member Avatar for Dani
0
280
Member Avatar for olaf

This function is usefull for peoples with a link directory where the links are stored inside a (MySQL) database. The PHP script is easy to use to find out if a reciprocal link still exists on the corresponding webpage. It takes care about the trailing slash in urls and can …

Web Development php
Member Avatar for Dani
0
179
Member Avatar for borobhaisab

Hi, I am trying to create a login page using the sql's mysqli_stmt_num_rows() function. Issue is, no matter if I give correct password or incorrect, I always get message 'Incorrect user Credentials'. Why is that ? The details on Mysql Looks like this: id|domain|password 0|gmail.com|373b29d2837e83b9ca5cec712a5985843df271cc Obviously, password is hashed using …

Web Development login mysql php
Member Avatar for Dani
0
91

The End.