3,061 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for theplayer

I have an error with the registration form, when someone registers or connects it gives me : Warning: mysql_num_rows() expects parameter 1 to be resource, null given in \public_html\include\global.php on line 37 Warning: mysql_fetch_array() expects parameter 1 to be resource, null given in \public_html\include\global.php on line 38 Warning: Cannot modify …

Member Avatar for Dani
0
117
Member Avatar for Olivia Alex

Which programming language used for the below url? How to know the programming language of particular website? htt ps ://www.f orm1099onli ne.com/

Member Avatar for Andres_6
0
110
Member Avatar for anas_abuhajar

hello.. can anyone help me to converting this algorithm to High Level Language C++ ![Screenshot_(107).png](https://static.daniweb.com/attachments/4/801ae0f7416d69e6dd0f92d7ecce8cf6.png)

Member Avatar for rproffitt
0
97
Member Avatar for lilindiekid

Write a program that checks the pressure of soda cans coming from a production line using a function. For each soda, the pressure value must be CLOSE to its ideal value. However, due to manufacturing problems the pressure value from can to can. First, the program will read the number …

Member Avatar for rproffitt
0
86
Member Avatar for mahmoud_37

Write a C# console program that allows the user to edit an address book by displaying the following menu to the user: 1- Add New Address 2- Delete Address 3- Modify Address 4- View Address 5- Quit when the user enters 1 the program just displays "You wish to add …

Programming c
Member Avatar for rproffitt
0
51
Member Avatar for cambalinho

without use DirectX, how can i get rendering\graphics speed? i created an Image class that uses DIB's... but something seems wrong for i draw in a pixel way.. too slow, maybe because i'm trying getting the line, 3D, points. maybe someone can give me more info: Friend Sub DrawImageRectanglePoints(DestinationHDC As …

Member Avatar for cambalinho
0
146
Member Avatar for vegaseat

What "Hello World" is to the console, the "Bouncing Ball" is to the Graphical User Interface. Nothing fancy, the ball is created via a call to the API function ellipse() and then bounced within the confines of the windows form. For the DEV C++ crowd: Let me know if you …

Member Avatar for laheg
2
25K
Member Avatar for vegaseat

The printer seems to be a much ignored computer peripheral when it comes to programming. This little code snippet explores one way to send text to the default printer. It actually draws the text into an imaginary box on the paper. You can specify the upper left and lower right …

Member Avatar for Djcordeiro
2
4K
Member Avatar for ronjacob012

I want to create a webpage which will automatically send an email before 2 days. <form action="try.php" method="post"> <p>Date From : <input type="date" name="date1" /></p> <p>Date To: <input type="date" name="date2" /></p> <input type="submit" name="submit" value="Submit" /> </form> <?php // echo("First name: " . $_POST['firstname'] . "<br />\n"); echo("Last name: " …

Member Avatar for monika_12
0
14K
Member Avatar for BlackIris

Hi everybody, I'm having a little problem with finding sum of nested list in Prolog. So far what I have is [ICODE] totalSum([],0). totalSum([H|T],S):- totalSum(T,Sum), S is Sum + H. totalSum([H|T],S):- totalSum(H,Sum1), totalSum(T,Sum2), S is Sum1+Sum2. [/ICODE] With first two predicates, I have no problems getting sum of not-nested list. …

Member Avatar for fgmart
0
2K
Member Avatar for GhostDragon

Hello, I'm new into PHP. Just migrated from Java recently. I'm trying to make a conversion machine that conver number to romans number. Here is the code I wrote : !DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Latins to Romans Conversion</title> </head> <body> <h2>Latin to Romans …

Member Avatar for bobgodwin
0
464
Member Avatar for Bassel_1

Hi guys. I want your help to convert this program from c++ to c language The question is :-A manufacturer wishes to determine the cost of producing an open-top cylindrical container. The surface area (of the container is the sum of the area of the circular base plus the area …

Programming c c++
Member Avatar for rproffitt
0
243
Member Avatar for Nur Izzati

public static void main(String[] args) Scanner.sc=new Scanner(System.in); String name = new String(new char[30]); final String pizza1 = "Chicken Fazita"; final String pizza2 = "Chicken Bar BQ"; final String pizza3 = "Peri Peri"; final String pizza4 = "Creamy Max"; final String roll1 = "Chicken Chatni Roll"; final String roll2 = "Chicken …

Programming c c++ java
Member Avatar for rproffitt
0
220
Member Avatar for Computer Doctor

from socket import * #Start test() def test(): #Specify the port serverPort = 80 serverSocket = socket(AF_INET,SOCK_STREAM) serverSocket.bind(('',serverPort)) #Listen for the 1 connection serverSocket.listen(1) #Print the port address print("web server on port",serverPort) #Start thw while loop. while True: #Establish the connection. print("ready to serve") #Create connection socket for accepted client. …

Member Avatar for JamesCherrill
0
196
Member Avatar for cambalinho

i have 1 function that give me an array of a line points... on these array, how can i get the array size without using the UBound() and LBound()?

Member Avatar for cambalinho
0
149
Member Avatar for Vitor_2

This is the scenario: **User A:** Access the website and choose a questionnaire. The questionnaires are separated on different pages in the same domain, for example: **Home:** "surveys.com" **Questionnaires:** "surveys.com/type1" "surveys.com/type2" After choosing one, he (**User A**) puts the following information: **1** = Recipient's email **2** = His email And …

Programming database mysql php
Member Avatar for john_111
0
106
Member Avatar for Nikita_14
Member Avatar for snow_1

when I read FutureTask's run method, I found it use cas to set runner variable, public void run() { if (state != NEW || !UNSAFE.compareAndSwapObject(this, runnerOffset, null, Thread.currentThread())) return; try { Callable<V> c = callable; if (c != null && state == NEW) { V result; boolean ran; try { …

Member Avatar for JamesCherrill
0
78
Member Avatar for Parker_1

Link in MySQL: https://wahlburgers.com/dorchester Variable loaded: $website = $row["website"]; How can I echo the word "Website" as a hot link to $website ( https://wahlburgers.com/dorchester ) inside an HTML form? This is what I've tried: <input type="text" id="website" name="website" value="<?php echo "<a href= '" . $website . "'>" . "Website" . …

Member Avatar for Jawass
1
191
Member Avatar for arsharma159

Hello guys, I'm new to VB.Net programming and Daniweb community as well. I'm developing a software in VB.net. But the problem is that I don't know how to create Invoices after taking the Sales Order. I'm in an urgent need of your valuable help you could provide me. Thanks in …

Member Avatar for kali_4
0
1K
Member Avatar for Xozz

Hi. I'm trying to set up an AMP system on my machine. It's called UwAmp. Anybody there to tell me how to setup the MySQL in this thing? Thank you

Member Avatar for john_111
0
486
Member Avatar for andre.jonker

Dear Friends, I have add resource file with number of images to my project. My question is, after deyploment and setup of the windows base application, i cannot I find resources file on the client pc, but the pictures are visible? Thank you in advance, André

Member Avatar for rproffitt
0
275
Member Avatar for ANGEL123@@

HELP ME IN MY BUS RESERVATION PROJECT I NEED TO HAVE A CONDITONAL STATEMENT IN MT SEATING ARRANGEMENT FOR EXAMPLE IF THE SEAT NUMBER IS ALREADY SELECTED IT WILL POP UP THE SEAT IS ALREADY SELECTED I USE THE COMBO BOX FOR THE SEAT NUMBER

Member Avatar for stultuske
0
257
Member Avatar for Dontah

So, basically what I'm trying to do is a Tic Tac Toe game for a project. I started with making 3 1-D Char Arrays to represent the game's bord. the code below compares the Arrays data to try and figure out if any of the winning possibilites were achieved by …

Member Avatar for SpOOKy.Is.GoD
0
201
Member Avatar for paydata
Member Avatar for rproffitt
0
169
Member Avatar for woodslab90

These is a project that a guy shared on GitHub that has all the information(code) for creating a windows application. That app will receive data from an arduino uno and change it into g-code for a post processor Mach3. I can use his app(exe.) with no problems, but I would …

Programming visual-basic-6
Member Avatar for RobDownUnder
0
152
Member Avatar for phphp

Sir I have installed JAVA 15 windows 7 64bit ![aapng.png](https://static.daniweb.com/attachments/4/6317016c29f6905d889b1cecd53f91b3.png) I want to ask what Microsoft JDBC Driver for SQLSERVER 2014 should I download. Please

Member Avatar for JamesCherrill
0
122
Member Avatar for Hamsterking

hi there i have an XML file wich contain some music information in a node and i would like to insert more i would like to add more node on demeand when i do i receive this error HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is …

0
90
Member Avatar for Jen Larosa
Member Avatar for Dani

Does anyone know of an automated tool that will convert a lot of jQuery code to native javascript? I think the bulky jQuery library is really slowing down my site but manually converting all my code seems very daunting. Ideally there would be something that was so flawless I could …

Member Avatar for Dani
0
319

The End.