2,070 Topics

Member Avatar for
Member Avatar for Pelle_3

I am quite new to web development, so I naturally came to a point where I needed some help. I am making a web site where the user has to log in, and if authentication is successful, the user's data will be fetched from server and displayed on page (and …

Member Avatar for Pelle_3
0
264
Member Avatar for jchimz

Hi is it possible to display database values in a .html form using php. This is my .html form and I want to display values from mysql in the form fields. <!DOCTYPE html> <html> <head> <title>Bursary application</title> </head> <body> <form action="config.php" method="post"> <div> <p></p> <label for="surname">Surname:</label><input id="surname" type="text" name="surname" value="<?php …

Member Avatar for drjohn
0
306
Member Avatar for Niloofar24

Hello everybody. There is a row in my db table I have set it's type as "TIMESTAMP". How should I fill in? Should get the current timestamp in php and send it to that row, correct? So how can I do that?

Member Avatar for Niloofar24
0
437
Member Avatar for lithium112

I built a database structure with codefirst EF from a tutorial but I can't find the database. I've looked in (localdb) and it's not in my local install of SQLServer. Would anybody know where I would need to look to find the database?

Member Avatar for lithium112
0
228
Member Avatar for Dipanjana

Hi. I have created two tables :Artist and Song .Artist table has fields Artistid and ArtistName and Song table has SongID, Lyrics,Description and Artistid as the secondary key.I have a web form to add new artist containing a textbox and submit button . The code is as below : <head …

Member Avatar for Dipanjana
0
945
Member Avatar for parth2911

hello I am trying to show Data in CrystalReport from Ms Access 2013 In button_click event String Cnstr = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\parth\Documents\test.mdb;Jet OLEDB:DataBase Password=hello123" using (OleDbConnection Cn = new OleDbConnection(CnStr)) { using (OleDbCommand Cmd = new OleDbCommand("select * from Table1", Cn)) { using (OleDbDataAdapter Adp = new OleDbDataAdapter(Cmd)) { using (DataSet1 …

Member Avatar for AmrMohammed
0
1K
Member Avatar for UK-1991

Hell,, I am trying to send images to he databse but not getting any response the images are not sending in the database can any one help me out function add_watch() { global $connection; $prodimg= $_FILES["prodimg"]['name']; $prodtype=$_FILES["prodimg"]['type']; $prodtemp=$_FILES["prodimg"]['tmp_name']; $target_path = 'Products/'.$prodimg; $id = $_POST["u_id"]; $brand = $_POST["brand"]; $model = $_POST["model"]; …

Member Avatar for diafol
0
236
Member Avatar for shimaibrahim

hi. Experts I'm developing a monitoring student in and out of residential college using RFID My problem is i can scan the RFID tag but i did not know how to save it into database access. here is the code i found on internet to connect detect rfid tag no …

Member Avatar for djjeavons
0
494
Member Avatar for RayvenHawk

I have a project that is due in a few days and I'm having an issue with one section. I created a really simply movie rental program and have a form for customers that uses a local DB for all the information on that form, one item on that table …

Member Avatar for RayvenHawk
0
112
Member Avatar for shaqib

Dear all, I have two identical mysql server with same databases and tables structures but with different data. ServerA ServerB Database Shaqib Database Shaqib Table users Table users ID | Name | Phone ID | Name | Phone 1 |Test1 | 123456 1 |Test13 | 1256456 2 |Test2 | 785632 …

Member Avatar for shaqib
0
3K
Member Avatar for mcoliver88

Hi Guys I am coding as very simple database in VB.net. I have decided to manually code my buttons but for some reason my save button returns with an error. Below is my code for my entire program (I know its not perfect). This is the error i Get: An …

Member Avatar for mcoliver88
0
226
Member Avatar for savedlema

Hi all! I have a form with a combobox, a listbox and 2 command buttons.(see photo and neglect the blank listview) I select items from the combobox and add items to my listbox after clicking the button.(no problem with this) Then, I need to save each item of the ListView …

Member Avatar for savedlema
0
3K
Member Avatar for blueshiftdani

I want to deploy a database application in C#. I should write a script for creating a database and its tables. The script should work only at install time and setup the database automatically. Or tell me if there is another better way to do that. Actually I wanted to …

Member Avatar for djjeavons
0
422
Member Avatar for Mimismliey

Well I am quite new to database and I need help to study it effectively

Member Avatar for diafol
-1
64
Member Avatar for janicemurby

hya im trying to populate a drop down select list from the database i have set the database up and written the following out if anyone can help would be much appreicated // Fetch user details $userdata = mysql_query("select * from user where user_id = '".$_SESSION['userid']."' "); $fetch_user = mysql_fetch_array($userdata); …

Member Avatar for lps
0
264
Member Avatar for ramkishor

how we can bind values in combobox and insert into database when we create dynamic combobox in c#..please help me..

Member Avatar for ramkishor
0
692
Member Avatar for Kirankumar_1

**How to open, read, transfer all content line by line in database depend upon their specification using php??????? ** I have a txt file that deals with numbers and the delimiter is not present in numbers. But i want to store that huge numbers depend upon there description. For example …

Member Avatar for diafol
0
240
Member Avatar for wilsonchama

Hi guys, I am trying to update a single column in an already existing record with a value in a textbox in Access database using VB.NET 2008 express edition. This is how it should happen, combo box is drawing product IDs from the table and two textboxes display product description …

Member Avatar for JerrimePatient
0
1K
Member Avatar for Hitesh_2

Dear frnds.. i want to devlope a website in php for school results, website as like as indiaresult.com. But i m not getting how its database should be developed. so pls help me and share your think about it... thank you HITEsh

Member Avatar for cereal
0
232
Member Avatar for autoXP

I need some assistance here. I currently learning and i would like to create a simple webpage (as a hobby). I have two textboxes (textbox1 and textbox2) , a dropdownlist (ddlist) and save button (btnSave). I insert value to textbox1 and textbox2 (eg: textbox1: A and textbox2: Apple). when i …

Member Avatar for autoXP
0
231
Member Avatar for SoMa_2

I want to display images based on what user checked from number of checkboxs. I'm trying this code, but it not working <!Doctype html> <html><body> <form method="post" action="" id="myForm"> <div class="opt-first"> <h1><b>Subject</b></h1> <input type="checkbox" value="Account/Finance" name="subject[]" /> Account/Finance<br /> <input type="checkbox" value="Marketing" name="subject[]" /> Marketing<br /> <input type="checkbox" value="" name="subject[]" …

Member Avatar for diafol
0
1K
Member Avatar for elamigosam

hello, I am having issues inserting comma separated values to my database, this is what I have: $invoiceProducts = "14:12,"; // eventualy the 14:12, will multiply to other values 43:2,34:1,45:1, etc $invoiceProducts = addslashes($invoiceProducts); //stripslashes() to remove the slashes tried with and without stripslashes. $stmt = $conn->prepare("INSERT INTO invoices (invoiceActive, …

Member Avatar for elamigosam
0
312
Member Avatar for SoMa_2

this code will display all courses user has <h1>YOUR COURSES</h1> <form action="delete.php" method="POST"><ol> <?php $con=mysqli_connect("localhost","FYP","123","FYP"); $sql= mysqli_query($con, "SELECT C_Code FROM F_COURSES WHERE F_ID=".$_SESSION['userid']); while($row = mysqli_fetch_array($sql)){ echo "<li name='course'>".$row['C_Code']."<input type='submit' value='Delete'>";} ?></ol></form> I need when user click on delete button that course delete from F_courses <?php session_start(); if (! empty($_SESSION['logged_in'])) …

Member Avatar for broj1
0
377
Member Avatar for Dipanjana

Hi , i hv created 2 tables : a Department table with fields Deptname , Deptid and Employee table with Empid , Empname, Salary . I have created a datagrid with fields empname , address , Salary , Deptname and edit and delete command columns . By clicking on edit …

Member Avatar for tarunap
0
376
Member Avatar for phpcake

I have website that enables user to select favourite websites, date of visiting the website, comments like how satisfied with the website they visited on that day. Initially there are four rows are hard coded and inserted into the mysql database. Then there is a add button enabling user to …

Member Avatar for lps
0
329
Member Avatar for jonlloydd

I currently have two tables in a database. One for products and one for product options. My product table allows a product to have 4 different option for example size and color etc. My options table gives each option an option ID. So for the option color - red, green, …

Member Avatar for diafol
0
174
Member Avatar for sheelakumari

I need to draw line chart for the data present in the database, my database looks like CREATE TABLE `details` ( `id` varchar(2) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, `value` varchar(5) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; INSERT INTO `details` …

Member Avatar for sheelakumari
0
272
Member Avatar for wilsonchama

Hi everyone, I have been strugling wit the "INSERT INTO" statement. I intend to insert the items that are in a datagridview into An Access Database when a button is clicked. I am using VB.NET 2008 express and Microsoft acces 2007. At first, I tried to use the listview, but …

Member Avatar for wilsonchama
0
312
Member Avatar for SoMa_2

I'm trying to do something like this $level=0; if($a=="x"){ $level=1; } Else{ $level=2;} How I can use the new value of $level outside the scope of IF Statement

Member Avatar for cereal
0
151
Member Avatar for bamun

hi, I m using vb.net 2008 & mysql. i need to save array in 2 different datafield in the same database table. For eg: let consider dim n(10) as array & D1 as 1st data field, D2 as 2nd datafield now i need to save n(1) on D1 and n(2) …

Member Avatar for Reverend Jim
0
265

The End.