2,720 Recommended Topics
Remove Filter | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
**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 … | |
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 … | |
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 … | |
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) | |
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 ... :((((((( | |
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🙏🙏 | |
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 ? … | |
IOS development Ble Hid, need to apply for hid authorization from Apple? | |
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. … | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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: ' . … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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) | |
I developed a Java Application to run on Mac BigSur. I used Java Derby as database for this application. The Application gives an Exception: java.lang.ClassNotFoundException:org.apache.derby.jdbc.EmbeddedDriver The interesting fact is that When I run this application on my MacBigSur(Which I have installed on Virtual Box) then the application runs perfectly. But … | |
I need help with a java project as soon as possible. Please help if absolutely necessary. Please, please ![Java_Project_Fall2022_page-0002.jpg](https://static.daniweb.com/attachments/4/e1636f48d3cb06c972c29cf47fa9f44c.jpg) ![Java_Project_Fall2022_page-0001.jpg](https://static.daniweb.com/attachments/4/4e7d8604a518555e648b8cfe86711934.jpg) Programming java |
The End.