10,940 Topics

Member Avatar for
Member Avatar for forgot

> Hi, This little program checks to see if the contract is valid. I have a database field "expiry" (int 3) from which 1 is subtracted when run. As long as the expiry is above 0 I want to redirect to "sysnav.html", otherwise I want to redirect to "expiredpage.html". I …

Member Avatar for rproffitt
0
24
Member Avatar for ianhaneybs

I am trying to output data for selected dates and think I have managed to do the sql query but it's currently not outputting the total amount, below is what it is currently outputting I am looking for the following From To Expense Category Expenses Total 01/01/2018 31/12/2018 Accounting Costs …

Member Avatar for michel.cote
0
117
Member Avatar for DB12

I am trying to connect MySQL(8.0.25) and python(3.8) using mysql.connector but getting the error: mysql.connector.errors.ProgrammingError: 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Windows 10 same code working for pymysql.connect the code used: import mysql.connector as sql s=sql.connect(host='localhost' ,user='root', password='<correct password>) The password I entered is the one …

Member Avatar for yqqwe123
0
196
Member Avatar for Bile

--Hi DaniWeb. I have been doying bulk data Uploads from Excel Sheet to MySql data base and hence thought that I may need the reverse of this process and so Export MySql Tables into Excel Format for Backup purposes (I also will be happy for a better suggestion for a …

Member Avatar for juniperoites
1
4K
Member Avatar for Ben_718

Hello, so as the title says, I'm looking to include a Session Variable into a MySQL Update statement. I'm not exactly sure what I'm doing wrong, but I certainly know I am. I'm also fairly new to this, so that may explain it lol! Thanks in advance for your help. …

Member Avatar for Dani
0
64
Member Avatar for Belajar

I want to ask how to make when we press the value for the combo box. For other textbox can easily appear. So, the user can do input 2 times. Here I attach my code Private Sub combo1() conn.Open() Dim stringsql As New MySqlCommand("select * from supplier", conn) Dim dr …

Member Avatar for rproffitt
0
111
Member Avatar for The Real Cedric

Trying to have a script built that locks the content until user refers a friend to signup, then they are granted access. They have a set amount of time, as a timer counts down or their account is deactivated. Its for a game we are creating and want to use …

Member Avatar for rproffitt
1
220
Member Avatar for Raja Huzaifa

Hi its Huzaifa From Pakistan! i am a designer (web and graphic). want to learn **programming**

Member Avatar for Dani
0
263
Member Avatar for Julia P.

HI!! How can I create an automatic numerical progression from 0 to 500,000 in html? The code I was given is this: <p><span style="font-family: Calibri, sans-serif;"><span style="text-shadow: rgba(255, 255, 255, 0.8) 0px 3px 2px;"><sup>437</sup></span></span></p> how can i make the code progressive and automatic every three minutes? The progression I have …

Member Avatar for jedimatt
0
109
Member Avatar for forgot

Hi, the scenario is: I run an apartment complex, someone comes in to pay their rent. I fill in an html form to record payment(update "payments" database table) and print a receipt. I hope u will look at it and offer advice. I hope to combine both the payment and …

Member Avatar for Dani
1
57
Member Avatar for Asire

Find product who hasn't had any sales in first three months of the year?

Member Avatar for jwenting
0
88
Member Avatar for drewd66
Member Avatar for Makomborero S

Im a Computer Science student from the University of the Republic of Zimbabwe. Im an aspiring Data Scientist who is interested in leveraging in the power of Artificial Intelligence to address and solve our daily life problems. i am looking for opportunities to expose, improve and expand my skillset and …

Member Avatar for Dani
0
20
Member Avatar for Kando_1

Hi Guys, Im not sure how to word the title of this question, but i have a table called "daily_recyclables". Inside this table, i have multiple columns of recyclable materials (example copper, stainless steel, brass etc etc) In my PHP application, i have a statistic card (like below) that is …

Member Avatar for Dani
0
71
Member Avatar for sonnet2

In my workplace, we have an intranet website developed internally that we use for CRM. The data of our clients are shown there (MS SQL server is used as a backend to store data). The site has a limited search functionality at the moment (it'll try to match the text …

Member Avatar for Dani
0
72
Member Avatar for Afrah

Write the main such that it reads two integers: Start and End and calls the void function of part ‘a’ in order to print the average of integers divisible by 3 in the range: [Start..End].

Member Avatar for rproffitt
0
47
Member Avatar for ama_ni

hello, i need someone to tell me how do i read string in assembly 8086 (nasm) and it would be better to write down the code ~~ thank you

Member Avatar for Leslie_2
0
410
Member Avatar for Marty_3

It has been a few years since I actually did real coding... well a few years since i had a job for that. Just dumping about 1000 photos from a directory and want to display them. No magic of fancy stuff. Thanks

Member Avatar for Dani
0
44
Member Avatar for FoxyBit

Hi all, I am working on a website that requires two queries from a table at the same time. They must select a row based on the id, and then another random one not including the row just selected. I currently have: $query = $pdo->prepare('SELECT title, content FROM cards WHERE …

Member Avatar for FoxyBit
0
215
Member Avatar for Manggala

I need help for my code after the user done register for their new account in my system. Here is the verification link that the user will receive via email for him/her to verified the email: `http://localhost/staff/email_verification.php?activation_code=49024f2e7b8c05dc1g66005g780g6060 ` But, when the user click on above link, I notice based on …

Member Avatar for Dani
0
152
Member Avatar for Channel_5
Member Avatar for Adolfo_1

I have three tables in mysql which make up the dropdown menu, as below code. I would like to get a $ breadcrumb variable with link from this menu. Example: Home / Woman Home / Woman / Clothes Home / Woman / Clothes / Women T-Shirth-2 It is possible?? <div …

Member Avatar for Adolfo_1
0
470
Member Avatar for Madhvi_1

Write PHP Script to insert data into STUDENT TABLE with fields (roll,first_name,Last_name,city,contact,gender).

Member Avatar for Dani
0
201
Member Avatar for potato_1

Hello, I want to use the checkbox to update the status of a row in mysql using php. If it is checked and submitted, the status will change from 'collect' to 'received'. I tried many ways but I am not sure where the problem is :( please help! <?php include(config.php); …

Member Avatar for Dani
0
1K
Member Avatar for Fedwa

Hi everyone here, I'm trying to show information about the material according to the year of meeting(is a meeting when they decide to buy a new material) so I use a drop-down list and the information will show according to the year chosen by the user, but it shows the …

Member Avatar for Dani
0
6K
Member Avatar for EiBS

Which is the best user-friendly programming language to be used for developing an ecommerce website?

Member Avatar for rproffitt
0
31
Member Avatar for Dani

DaniWeb was written in Codeigniter, and when posting to the forums, we use database transactions that look like this: $this->db->trans_start(); ... insert into the posts table ... ... update the member's post count ... ... update the tags table ... etc $this->db->trans_complete(); On occassion, the error log will show for …

Member Avatar for Dani
1
4K
Member Avatar for Ayna_1

Hi! When I am running this code, the output looks how I expected it to be, but the problem is that I cannot go back to home page whenever I want to. I dont know why but when I tried to go back to home page after visiting the tips …

Member Avatar for rproffitt
0
68
Member Avatar for Donnolic

I have a VB.net project that queries my online database directly. Now I want to use API instead of direct connection. Please I have never done such before and all materials I got online are not learning friendly and some that are friendly didn't have relation with database. And secondly, …

Member Avatar for Dani
0
85
Member Avatar for GFXtm

I have the following table: my_contacts which contains the following columns: [CODE]contact_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, frist_name VARCHAR(20), interest VARCHAR(20)[/CODE] [CODE]-----------+-----------+---------- contact_id | fisrt_name | interest + ---------------------------------- 1 | smith | swim + 2 | mark | dance + ----------------------------------[/CODE] I need to move the interests column …

Member Avatar for Asish_2
0
2K

The End.