3,060 Recommended Topics

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

Member Avatar for Stefce
0
226
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
147
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
68
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
56
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
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: ' . …

Member Avatar for Stefce
1
65
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
155
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
281
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
179
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 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
91
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
88
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
Member Avatar for fouad_4

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
Member Avatar for JamesCherrill
0
52
Member Avatar for Saboor880

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 …

Member Avatar for Skillz_1
0
49
Member Avatar for Stefce

I want to insert the returned values into an array and after to display random string I have this code by it doesn't return back a random value Inside the vid1,vid2,vid3 columsn there is Video Name text that pointing to the video in my File Manager folder $sql = "SELECT …

Member Avatar for Stefce
0
47
Member Avatar for charlie_20

> Hi, this should be simple but I'm having trouble and need help, please. I just want to update the "expiry" value in the "ctltbl" and relocate depending on the value. The update doesn't happen and it goes to sysnav even when expiry is 0. "ctltbl" is 1 row. <?php …

Member Avatar for Skillz_1
0
40
Member Avatar for sankar2000

I am trying to make a simple HTTP/HTTPS service discovery in C. For this app i use `pthread` as there is no other better cross platform options for this, but i get some strange errors. **PROBLEM1 : thread_submit has do be dynamically modified at the run time. Right now it …

Programming c
Member Avatar for Skillz_1
0
36
Member Avatar for Ingmar_1

When I try to install webview2 package from nuget I get this output: Retrieving package 'Microsoft.Web.WebView2 1.0.1418.22' from 'nuget.org'. Adding package 'Microsoft.Web.WebView2.1.0.1418.22' to folder 'C:\Users\pc\Desktop\VS 2015 projects\dbtest\packages' Added package 'Microsoft.Web.WebView2.1.0.1418.22' to folder 'C:\Users\pc\Desktop\VS 2015 projects\dbtest\packages' Install failed. Rolling back... Package 'Microsoft.Web.WebView2.1.0.1418.22' does not exist in project 'webview2' Removing package 'Microsoft.Web.WebView2.1.0.1418.22' …

Programming c
Member Avatar for rproffitt
0
169
Member Avatar for Stefce

I have a domain that looks like this when i visit certain link `https://domain.com/model-profile/index.php?name=abbychampion` the site is written in php but i dont want to show this part `index.php?name=` because for SEO purposes and better human reading. Is this possible to hide ? so the link looks like this `https://domain.com/model-profile/abbychampion`

Member Avatar for Dani
1
353
Member Avatar for Aqib_5

What is the problem with my mouse on Windows 10? I would appreciate any help in resolving this problem

Member Avatar for Reverend Jim
1
117
Member Avatar for imhim45

Hello..... Where I am wrong in this program. I am getting declaration syntax error. #include<iostream.h> #include<conio.h> int factorial(int) int main() {clrscr(); int n,r,nr,fn,fr,fnr; int ncr; cout<<"/n Enter n and r = "; cin>>n>>r; fn=factorial(n); fr=factorial(r); nr=n-r; fnr=factorial(nr); ncr=fn/(fr*fnr); cout<<"/n nCr ="<<n<<" C "<<r<<" = "<<ncr<<endl; getch(); return 0; } Thanx

Programming c++
Member Avatar for Deathstr0k3
0
3K
Member Avatar for Stefce

iI was searching the online "free/cheap" generators and i found out that they are not so cheap... They advertise the PRO plan for just $3 and when i came to the checkout page it was $1800 So is there other free tool for this job or how do i manually …

Member Avatar for Dani
0
130
Member Avatar for lawalishaq204
Member Avatar for Reverend Jim
0
97
Member Avatar for Justin_44

I am not quite sure why I am getting this error package tile; import java.awt.Graphics2D; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import javax.imageio.ImageIO; import main.GamePanel; import main.UtilityTool; public class TileManager { GamePanel gp; public Tile[] tile; public int mapTileNum[][]; public TileManager(GamePanel gp) { this.gp = gp; tile = …

Member Avatar for JamesCherrill
0
69

The End.