8 Solved Topics

Remove Filter
Member Avatar for tuse

I need to check if a databse user exists and if not, create that user. However, I do not know the statement to check if a user already exits. How to check if a user already exists in MySQL?

Member Avatar for Offirmo
0
1K
Member Avatar for tuse

Hi! I am trying to initiate a client-server talk but for some reason it is not working. The server starts running, but when I start the client nothing happens. Please point out the mistake in my code- Server- [code="java"] import java.io.*; import java.net.*; public class MyServer { public static void …

Member Avatar for tuse
0
113
Member Avatar for tuse

Hi! I am using a code to echo a row in a database table using ajax with PHP. The code is working correctly. The ajax will send the response text as follows- [code] document.getElementById('outputText').innerHTML = httpObject.responseText; [/code] My question is how can I retrieve individual fields into separate Id's?

Member Avatar for tuse
0
176
Member Avatar for tuse

Hi! In the following code- [code=php] <?php header('Cache-Control:no-cache'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form id="form1" name="form1" method="post" action="<?php echo($_SERVER['PHP_SELF']);?>"> <p> <label>Name: <input type="text" name="txt" id="txt" value="<?php $_POST['txt'];?>" /> </label></p> <p> <input type="submit" name="b1" id="b1" …

Member Avatar for tuse
0
91
Member Avatar for tuse

The website that I created enables users to signup. When they register an account, a mail is sent to them. In the mail, I wish to send them a link upon clicking of which enables them to login. How can I do this? ----- I was thinking on the following …

Member Avatar for tuse
0
65
Member Avatar for tuse

Hi! I am trying to develop an online examination system (my first asp.net project) in which multiple choice questions need to be answered within a time frame. One question appears after another on clicking a button. How can I use a timer control for this? When the timer expires, all …

Member Avatar for tuse
0
184
Member Avatar for tuse

Ok, I had posted this- [url]http://www.daniweb.com/forums/thread128689.html[/url] and got this piece of code from a link ([url]http://vb.net-informations.com/crystal-report/dynamic_crystal_report_from_sql_query_string.htm[/url]) [code=VB.NET] Imports System.Data.SqlClient Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports System.Data Public Class Form1 Dim objRpt As New CrystalReport1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cnn As SqlConnection Dim …

Member Avatar for tuse
0
108
Member Avatar for tuse

Is there any way in which a crystal report be generated by giving the table name at runtime? ie. the user chooses the table whose report is needed and the .rpt files do not exist beforehand.

Member Avatar for sheril85
0
313

The End.