3,151 Recommended Topics

Remove Filter
Member Avatar for
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 …

Member Avatar for Dani
1
74
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?

Member Avatar for Dani
0
555
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 …

Member Avatar for Dani
0
92
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

Member Avatar for Dani
0
556
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 …

Member Avatar for Naor
0
207
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 …

Member Avatar for gce517
0
103
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 …

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 …

Member Avatar for Naor
0
63
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 …

Member Avatar for Dani
0
56
Member Avatar for gil.nickson

hi, please help me how can i convert this C++ code to C source code ... please help ..... this is the URL http://cppforschool.com/project/super-market-billing.html i dont understand this though please help ... :(((((((

Member Avatar for f200196
1
39K
Member Avatar for Fian_1

AttributeError Traceback (most recent call last) <ipython-input-1-2b6855960796> in <module> 15 csvFile = open(search_key+".csv","a+",newline="",encoding="utf-8") ---> 16 csvWriter = csv.Writer(csvFile) 17 c = [] 18 i = [] AttributeError: module 'csv' has no attribute 'Writer' Help🙏🙏

Member Avatar for Reverend Jim
1
142
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 ? …

Member Avatar for borobhaisab
0
288
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 …

Member Avatar for Stefce
0
205
Member Avatar for Fian_1

AttributeError Traceback (most recent call last) <ipython-input-9-4152b890358f> in <module> 20 t = [] 21 ---> 22 for tweet in tweepy.Cursor(api.search,q=search_key,count=1000,lang="id",since="2022-11-10",until="2022-11-20").items(): 23 print(tweet.created_at,tweet.id,tweet.user.name,tweet.text) 24 c.append(tweet.created_at)

Member Avatar for Reverend Jim
0
133
Member Avatar for talhacharagh

I was trying to make an app On Android Studio. During the making of the app on Android studio, it gives an error. The error was about the Gradle bundle failing. I neglected this error while creating. I thought this might be due to the slow process and net speed. …

Member Avatar for rproffitt
0
65
Member Avatar for peter.ding
Member Avatar for Al_628

I have the following dataframe: d_test = { 'name' : ['South Beach', 'Dog', 'Bird', 'Ant', 'Big Dog', 'Beach', 'Dear', 'Cat', 'Fish', 'Dry Fish'], 'cluster_number' : [1, 2, 3, 3, 2, 1, 4, 2, 2, 2] } df_test = pd.DataFrame(d_test) I want to identify similar names in `name` column if those …

Programming python
0
53
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 …

Member Avatar for Dani
0
53
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: ' . …

Member Avatar for Stefce
1
62
Member Avatar for John Ramil

i have an airline ticketing project and i cant figure it out, i need to take the name and age of passengers and depending on their ages they will get a discount (2% for 13 below and vat exemption + 20% discount for 60 above) and also the prices changes …

Member Avatar for Skillz_1
0
94
Member Avatar for nouraaaaa

Design a three-bit counter using T-FFs. The counter has one input X. The counter counts odd numbers (1, 3, 5, 7) if X = 0 and counts even numbers (0, 2, 4, 6) if X = 1. If X = 1 and the current number is odd, the counter will …

Programming asp
Member Avatar for Skillz_1
0
53
Member Avatar for peter.ding

I have a requirement that says something like this, I need to make an ios app that reads the hardware data that's being sent, it's ble hid based, and now I need an objective-c demo. Somebody tell me. Thank you

Member Avatar for peter.ding
1
148
Member Avatar for Vijay_34

A/B testing is a method of comparing two versions of a web page or app to determine which one performs better. It is a powerful tool for optimizing websites and apps, as it allows businesses to make data-driven decisions about the design and functionality of their online platforms. With A/B …

1
89
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 …

Member Avatar for Dani
0
256
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 …

Member Avatar for Dani
0
178
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 …

Member Avatar for Dani
0
89
Member Avatar for Thao_14

hi I'm new to coding, I'm have a Visual Basic project for the memory game. it basically lets the player flips over 2 cards, if those 2 cards match, they disappear, if they don't, they flip back. the game end when all the cards disappear. I have completed the code …

Programming visual-basic-6
Member Avatar for Reverend Jim
0
87
Member Avatar for peter.ding

How do I get the physical keys of a connected Bluetooth device and set system related functions for the keys As shown here: ![IMG_57177A6B2642-1.jpeg](https://static.daniweb.com/attachments/4/7aa01a1f769619a4221e30317b5f9f83.jpeg) ![IMG_5E8A6E9B5D86-1.jpeg](https://static.daniweb.com/attachments/4/bd4254b2df72e705ffcdef69b223fa6a.jpeg) ![IMG_26BB5884272B-1.jpeg](https://static.daniweb.com/attachments/4/d7de67d43f5a4254a7ae3be5f837f7b8.jpeg)

Member Avatar for rproffitt
0
62
Member Avatar for Bien Joshua

Ever since we started broadcasting professional races internationally, we've been getting complaints about how we only display speeds in kilometers per hour. In order to accomodate our international audiences, we're going to start adding more speed units to our broadcast! Namely: miles per hour, meters per second and yards per …

Programming c
Member Avatar for Skillz_1
0
58

The End.