2,070 Topics

Member Avatar for
Member Avatar for monish.punjabi

<?php include("connection.php"); $sql="UPDATE detail SET 'user_name'='".$_POST['user_name']."','password'='".$_POST['password']."' WHERE 'id'='".$_GET['id']."'"; $result=mysql_query($sql); mysql_fetch_array($result); ?> <html> <head> <title>login</title> </head> <body> <form method="post" action="index.php?id=<?php $_GET['id']; ?>"> id:<input type="text" name="id" value="<?php echo $_POST['id']; ?>" /><br/> user_name:<input type="text" name="user_name" value="<?php echo $_POST['user_name']; ?>" /><br/> password:<input type="password" name="password" value="<?php echo $_POST['password']; ?>"/><br/> <input type="submit" value="submit" /> </form> </body> …

Member Avatar for diafol
0
130
Member Avatar for FaisalSarfraz

Hi every one!! I need help to match user data from database inorder to log in to admin panel. Here is what I am trying. it works ok but it is giving dialog box containing text "Sorry! You have no access to Database" here is the code. Please help String …

Member Avatar for FaisalSarfraz
0
292
Member Avatar for deovratb

Hi guys , I am new to php. I want to fill a mysql table which contains numerous fields.I need to develop four form on different pages and i need to insert all the values in the same table . any help will be appricited.

Member Avatar for bettybarnes
0
47
Member Avatar for Skate Bart

Hi there. I developed a program that creates Data Reports using this way : [Click Here](http://www.vbtutor.net/vb6/lesson40.html) But instead of using "Microsoft Jet 3.51 OLE DB Provider", I used "Microsoft Jet 4.0 OLE DB Provider" because when I used "Microsoft Jet 3.51 OLE DB Provider" it couldn't connect to the database …

Member Avatar for Skate Bart
0
588
Member Avatar for andyy121

in database i have added the random and activated with boolean type and the defaul was set to As defined with 0 value.when i click log in it must desplay this: your accoun si not activate.Please check your email. but i show you are in click here to click here …

Member Avatar for andyy121
0
191
Member Avatar for pblanton56

What I am trying to do is: I have my database in phpMyAdmin constructed, with pages coming into Content Mangement system. What I would like to do is link a page directly to a website page by creating a direct link in phpMyAdmin. Can someone explain how I can do …

Member Avatar for DarkMonarch
0
120
Member Avatar for mangal123

hi all .... I have a problem in window application ..... the problem is that i have completed my project on lab management system(LMS) and now i want to create set up of LMS simply i created the set up but its not working for sql server ......So please if …

Member Avatar for manojada
0
179
Member Avatar for garyjohnson

I have gotten a php file where users can create their own user ids and login and out with them and it saves their name in mysql, now i want these users to be able to upload small videos, can someone please tell me a php code for how a …

Member Avatar for diafol
0
367
Member Avatar for sabarinadh.ch

I have to retrevie data from the database using "SELECT * FROM $tbl_name WHERE cat1 = technicalfest ORDER BY id DESC"; can any one tell me how to use multiple

Member Avatar for diafol
0
241
Member Avatar for andy106

Hi I have a simple code below that fetches, make, model and year from the database, but for some weird reason I get: Fatal error: Cannot access protected property error, any ideas as to why this might be happening? (i btw have this code on a different server running with …

Member Avatar for johrocks124
0
3K
Member Avatar for freakthemighty

I'm building a CMS in PHP and this is my first attempt to use ajax to do something cool. It's making my queryies problematic, however. I'm writing in this forum because my PHP forms worked fine before I did the following: On my index page, I have a header with …

Member Avatar for freakthemighty
0
331
Member Avatar for WDrago

All, I can't seem to find a good example of how to work with databases in C#. I'm using sqlserver and I can do simple things like insert and retrieve data, but when I am retrieving data I have to refer to the ordinal index values of the columns (reader[0], …

Member Avatar for Pamilerin
0
165
Member Avatar for george.badole
Member Avatar for george.badole
0
394
Member Avatar for Andyjava

Please can someone show me how to retrieve database tables and add them as items to my JComboBox?.i have this app that i'm creating and it has a database which contains tables with their names and i want to add them as items into my JComboBox to aid file insertion …

Member Avatar for Ezzaral
0
153
Member Avatar for //Gonz

I have written a program which allows agents of a call centre the ability to access a database (ms access) containing names of solicitors to allocate to. the database is stored centrally and i need a way to update the local dataset on the agents machine when a change is …

Member Avatar for //Gonz
0
198
Member Avatar for sabarinadh.ch

I am newbie in php and i have code for retreving data from the website where the $id=id now i want to retreive the data based on the code Select * from users where cat1=cat1 and cat2=cat2 and also show the data according to the id in decrement order. i …

Member Avatar for Squidge
0
296
Member Avatar for joshl_1995

Hello, I want to combine all my database table in to one line so i can put it all in the url e.g. Name | Times __________________________ test1 | 1 __________________________ test2 | 2 __________________________ This is how i want it to look in the url (Result.php?loggedin=true&links=test1-1_newline_test2-2)(_newline_ means that will …

Member Avatar for jstfsklh211
0
279
Member Avatar for f4fjks

Hey All! I have created a database application which read and write data in Ms Access. It works well on my computer but when i try to install the same application via installer package to another computer, and run it, it gives me error that i dont have the database. …

Member Avatar for Maligui
0
171
Member Avatar for emokidzz

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; namespace Database { public partial class Form2 : Form { public Form2() { InitializeComponent(); } int baseExp = 200,currentExp,lvl=1,str,intel,dex,armr,min=10,max=25,minimum=2,maximum=3; public void levelUp() { min += minimum; max += maximum; str = int.Parse(strength.Text); …

Member Avatar for Mike Askew
0
291
Member Avatar for Andyjava

hello people. i have this application which is suppose to retrieve database tables form a paricular database being used and add them as items in2 a jcombobox.The reason is that i want to hvae the opportunity to insert a file into any table by just clicking my jcombobox and select …

Member Avatar for Andyjava
0
2K
Member Avatar for jcl1290

I want to let the users of my page (they dont have to be registrated) to register a food plate that they ate at my restaurant. It should have a picture and a review, now that should go to a database and appear randomly but daily at homepage. can anybody …

Member Avatar for jcl1290
0
179
Member Avatar for drelix01

Hello guys, I made a simple program that Add, Saves, Edit & Retrieves Data from a MS Access DB... Dim arrImage() As Byte Dim strImage As String If Not IsNothing(Me.ImageBox.Image) Then Me.ImageBox.Image.Save(myMs, Me.ImageBox.Image.RawFormat) arrImage = myMs.GetBuffer strImage = "?" Else arrImage = Nothing strImage = "NULL" End If myqry = …

Member Avatar for Maligui
0
1K
Member Avatar for JarrodIsSuperman

Hey guys, Having an issue with a webpage I am building. I can get it to save the name of the image, however when I echo it out and im trying to include it as an img src tag it tells me I have a syntax error. I think this …

Member Avatar for JarrodIsSuperman
0
520
Member Avatar for johncornelius23

whenever I try to run it I have a compile error in connecting my database this is my code Dim con As Adodb.Recordset Dim conn1 As Adodb.Connection Private Sub mygdb() Set con = New Adodb.Connection con.CursorLocation = adUseClient con.Open "PROVIDER = Microsoft.Jet.OLEDB.4.0;Data Source =" & App.Path & "\enrolment.mdb;" End Sub

Member Avatar for QVeen72
0
208
Member Avatar for 47pirates

I'm using Xampp for the database in my computer now what i want to do is to back up the database name "HMS" with "root" username and " " password. How can i do this in java please suggest.

Member Avatar for rajesh1158
0
167
Member Avatar for xbat

I have a bunch of drop down boxes, then after they are selected the the total amount automatically appears at the bottom.. the only problem is it appeears like this - <span id="resp">Total</span> How would I make this insert into the database?

Member Avatar for xbat
0
2K
Member Avatar for Ctechnology24

Help, I need a free hosting site! I have a website made of PHP that I need to upload to a web server and a VB.net application on my PC, I saw tutorials on how to connect my VB.net application to my database located in the web server with my …

Member Avatar for chrishea
0
192
Member Avatar for rayidi

Hie all, I'm developing a bulk sms website, there are users and resellers for the site. I want to map my to another ip through A record. Problem is how to identify the ip user / reseller ? Please help me.

Member Avatar for rayidi
0
224
Member Avatar for da(code)da

Im getting a "Unknown database 'user_admin'" error and i dont see it here is my code $username = mysql_real_escape_string($_POST["Username"]); $query = "SELECT * FROM user WHERE UserName='$username'"; $result = mysql_query($query); if(mysql_affected_rows() == 0) { //All Checks Out: Create Databases $dbase = "user_" . $_POST["Username"]; mysql_query("CREATE DATABASE $dbase",$con) or die(mysql_error()); mysql_select_db($dbase, …

Member Avatar for nunomartinsinet
0
182
Member Avatar for superjj

Hoi At the moment I'm learing Databases. this is some code that I'm using. The question that I have is, can I insert a row without ID. I mean that the database increase the ID number itself. Thanks in advance. command = new OleDbCommand(); command.Connection = connect; command.CommandText = "INSERT …

Member Avatar for superjj
0
259

The End.