2,070 Topics
|
|
<?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> … |
|
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 … |
|
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. |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 |
|
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 … |
|
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 … |
|
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], … |
|
Hi, I used fpdf lib to print pdf. And I want my php class be integrate in fpdf? Can anyone help me? |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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. … |
|
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); … |
|
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 … |
|
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 … |
|
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 = … |
|
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 … |
|
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 |
|
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. |
|
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? |
|
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 … |
|
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. |
|
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, … |
|
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 … |
The End.