2,070 Topics

Member Avatar for
Member Avatar for xiiopao

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" …

Member Avatar for xiiopao
0
205
Member Avatar for DeIntegro

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" /> …

Member Avatar for dos_killer
0
467
Member Avatar for WolfShield

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 …

Member Avatar for WolfShield
0
208
Member Avatar for xiiopao

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"/> …

Member Avatar for parry_kulk
0
144
Member Avatar for victortiago

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 …

Member Avatar for hirenpatel53
0
107
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for hielo
0
136
Member Avatar for turpentyne

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 …

Member Avatar for turpentyne
0
124
Member Avatar for klemme

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. …

Member Avatar for madCoder
0
157
Member Avatar for xiiopao

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 …

Member Avatar for xiiopao
0
535
Member Avatar for klemme

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 …

Member Avatar for klemme
0
209
Member Avatar for shawn130c

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 …

Member Avatar for shawn130c
0
224
Member Avatar for norn

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 …

Member Avatar for norn
0
96
Member Avatar for 24x24

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 …

Member Avatar for yancouto
0
210
Member Avatar for abathurst

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 …

Member Avatar for bill51
0
423
Member Avatar for Malaoshi

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 …

0
137
Member Avatar for shazzy99

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 …

Member Avatar for shazzy99
0
233
Member Avatar for carebear23

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' …

Member Avatar for svilla
0
159
Member Avatar for begueradj

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 …

0
99
Member Avatar for ridzaq

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 …

Member Avatar for ridzaq
0
1K
Member Avatar for ndeniche

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 …

Member Avatar for dottomm
0
181
Member Avatar for carebear23

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 …

Member Avatar for tomato.pgn
0
130
Member Avatar for rajvaishnav1989

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 …

Member Avatar for brynFlew
0
254
Member Avatar for atom6402

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 …

Member Avatar for debasisdas
0
502
Member Avatar for stefilina

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.

Member Avatar for Mitja Bonca
0
535
Member Avatar for kazekagerandy

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 :)

Member Avatar for sandeepparekh9
0
104
Member Avatar for Chubbymouse

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 …

Member Avatar for gokhanfil
0
147
Member Avatar for Formby

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 …

Member Avatar for Formby
0
150
Member Avatar for suhaildawood

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 …

Member Avatar for Akash Saikia
0
242
Member Avatar for abelLazm
Member Avatar for McLaren

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 - …

Member Avatar for McLaren
0
144

The End.