2,070 Topics
| |
does anyone here know how to insert form contents accomplished by a user to a database.., i have a code but it doesnt seem to work.. :confused:... here's my code ... it's in jstl but if there is a easier alternative then just spill it out [CODE] <sql:update dataSource="${orders}" var="updatedTable" … | |
I am having problems loading images from my database. I think it's something with the variable...i am new to PHP and have a project i need to finish by Tuesday. Your help is appreciated. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> … | |
Hey, I am working on a book writing program right now and I am wondering what the best way of saving the book(s) would be. I would like all of the books in one place, and I need to divide between all of the chapters in the book. So I … | |
Good day guys, anyone here who knows how to easily access image pointers stored in a database in JSP?... here's my code =) ... it already works in retrieving data other than the image... my database contains petid, petname,birthdate,image,petprice.... [CODE] <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%> <sql:setDataSource driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/store" user="root"/> … | |
eu preciso de puchar somente um valor de uma tabela do sql, que eu estarei usando este valor para definir os usuários as roles, irá funcionar assim, o usuario loga, então é criada uma conexção no banco de dados e nesta conexão ele verifica em qual role este usuario esta … | |
Hi, I'm making a custom user management class that inherits from DBManager class. The problem I have so far is executing queries using mysqli prepared statements. DB connects fine but then prepare statement fails. I have mysqli object as an attribute that is shared in the class. I'm new with … | |
I have the paginated results page below, intended to show the results from a previous search page that pulls items from the database and also passes the _GET to this page. When I first submit my search, it works. But when I click on the paginated pages below, It reloads … | |
Looking for an answer about how I can use relations in my DB, when a link is clicked. I have the main navigation in the top of the page, the table is called:"SUBJECTS", primary key is ID. I also have a local navigation in the left side of the page. … | |
hi there im new to php and im currently building my website .,it's more like an online store and i would like my products to be listed in a gridview., i have a database and my only problem is how to display the images .., i've already displayed some info … | |
Everyone, Can someone see why this select box doesnt display the numbers, but only the default text? [CODE] <?php include_once "connect_to_mysql.php"; //Placing the page under the relevant subject, using a dropdown list $sqlCommand = "SELECT subjectid FROM pages ORDER BY subjectid ASC"; $query = mysqli_query($myConnection, $sqlCommand) or die (mysql_error()); while … | |
Hello, I need help saving data into an access 2007 database from a program created in vb 2008. I am making a basic "game" that allows you to move a "robot" up,down,left, right and will save the movements/positions into an access 2007 database. I already have the basic movement created … | |
Hey I've been coding from a young age, I've just recently turned 18 I want to create an application for me and my friends to use, it scans a folder and from that folder it gains the movie information based on their backed up movies filename, I have a method … | |
My assignment: develop a limited application to track the statistics of sports players. For each player, track first and last name, points scored, assists made, and penalty rate. Design and implement an object capable of recording this info. Implement this object as Player. Must allow user to enter new player … | |
Hi all, I'm not the best with coding and was wondering if some one can help me out. The page is inserting information into a database but when i added an extra section to insert i get the error [CODE] Could not find stored procedure 'Insert_PublicationsA'. Description: An unhandled exception … | |
| Hi, I want to start the following project: 1. I got data from several Smartphone tests - did most of them myself. 2. I want to write a programm, where the user can choose different options and than will get his "perfect" phone. 3. My Question: [LIST] [*]What would you … |
Hi, I'm doing the following code to connect to Access Db. The db1.mdb is placed in c:\db1.mdb. It giving me error "couldn't find file" [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System; using System.Data.OleDb; namespace CustomerDB { class OleDbTest{ public static void Main() { //create the database connection … | |
Hi I am having a problem with code i have created to delete a customer from my database, would be grateful if someone could tel me where i have gone wrong [CODE] <?php include ('db.php'); $cid=$_POST["cid"]; $cname=$_POST["cname"]; $cusadd1=$_POST["caddress"]; $cusadd2=$_POST["caddress1"]; $cusadd3=$_POST["caddress2"]; $ccounty=$_POST["county"]; $custpc=$_POST["cpostcode"]; $custele=$_POST["ctelephone"]; $cusemail=$_POST["cemail"]; print $cid; $str="delete from customer CustomerName='$cname',CustomerAddress='$cusadd1',CustomerAddress1='$cusadd2',CustomerAddress2='$cusadd3',County='$ccounty',CustomerPostCode='$custpc',CustomerTelNo='$custele',CustomerEmail='$cusemail' … | |
| Hi people, I have a trouble displaying the files that are in my folder. Here, I try to display the name of the files and their description. I succeeded to display their description but not the files ! Please, help me [CODE]include('Cfg/config.inc.php'); mysql_connect($SERVER,$USER,$PWD)or die('Can not connect to the MySQL server … |
I keep getting the following error when I try to add new record into database (Access 2007) "The INSERT INTO statement contain unknown field name:'login'." I dont whats wrong as the coding looks fine and the field login does exist in the database. Spent whole day trying to find the … | |
Hello guys. I'm developing a web application in which I have to connect to a mssql server which is connected through a proxy server. I have allowed data transfers for the MSSQLSERVER service, and allowed connections for port 1433. I've read that this is absolutely insecure, and it still gives … | |
I am designing a website that connects to a database. I am using wampserver to connect to the website. In my customer add page I am trying to ask the website to generate an autonumber from the database. As my table in the database is set up as following: [CODE=SQL]CREATE … | |
Hello, i am develop website in jsp as per our final year project rule of college.my project is public transportation.i am creating site for it. now my problem is to create database for bus train and flight ticket reservation.. how can i create database for it and also journey table … | |
I am using Oracle for the first time.I installed Oracle SQL*PLUS ver 8.As I had to learn this for an exam. But I am facing the following error after I enter it with the system default scott/tiger ... "ORA-12203: TNS:unable to connect to destination" Sorry ,if this question is already … | |
Hy, I have a question... I want for my application to select on startup the database i want...I thought about keeping my database name in a combo box and when i run my application i will select what i want...but....how can i concatenate in app.config the ConnectionString?Does anyone Know? Thanks. | |
hello there, i want to put my images saved as byte from the database to crystal reports. please give me code to do this, thanks :) | |
Hi there, I have some code on a page to extract info from a database (like a back end system) and I just wondered if there was anyway I could do a shortcut around the code to avoid doing multiple SELECT statements. e.g [CODE]<?php $result = mysql_query("SELECT * FROM quackedup … | |
I've looked all over the internet for a suitable solution to my problem, and I just can't fine a simple and effective one; so I hope I can get some help here! First off I am programming a hotel booking system for my college computing project. This consists of a … | |
I am creating a part of a game in ASP.NET (VB). There is a database with four tables (topics), and in those tables there are three items. I need the application to be able to show a random item (for example the three items are 1, 2, 3 - I … | |
This is the simple code to read an image from the database. | |
Hi, I will try describe the algorithm. I have a website, with articles. Administrator can upload image files and then put them into the article. Sometimes it can happen that admin uploads file but does not save the article and closes the browser. So the file isn’t needed anymore - … |
The End.