11,093 Topics

Member Avatar for
Member Avatar for Dhanapal

[COLOR=midnightblue]The INSERT statement conflicted with the FOREIGN KEY constraint "FK_yaf_Forum_yaf_Category". The conflict occurred in database "yafnet", table "dbo.yaf_Category", column 'CategoryID'. The statement has been terminated. How to solve this error...........[/COLOR]

0
66
Member Avatar for nickclarson

I have a db full of articles that have a category field. Is there anyway to select and display just the different categories?

Member Avatar for nickclarson
0
84
Member Avatar for dangutm

how can i retrive data from database (mysql)and make it a drop down menu on a html form using php .and also if an iteam is selected from a fist dropdown before the next well become active.

Member Avatar for csscart
0
192
Member Avatar for bucwyld
Member Avatar for GTHD
0
240
Member Avatar for mbacon

SELECT * FROM `studentcourse` WHERE `systemcode` = 'ilscorp' AND `status` = 'complete' AND `techcode` IN (SELECT `techcode` FROM `usersubscription` WHERE `subscription_id` = '296') After I run this the server has an intense lag and needs to be restarted or timeoutes occur.

Member Avatar for peter_budo
0
115
Member Avatar for hkBattousai

Hello, I am going to study MySQL on my web server. I would like to ask if there is a useful GUI tool for MySQL to create/delete tables and browse entries on my database.

Member Avatar for pty
0
136
Member Avatar for bobby08

Hello, I heard SELECT COUNT(*) can take a lot of resources if your counting a table with lots and lots of rows (hundred thousands, millions). What if you add A WHERE clause to it? So something like: SELECT COUNT(*) FROM table WHERE pid = ? (pid is a index too …

Member Avatar for Raposo
0
140
Member Avatar for tech291083

Hi, I am using Fedora Core 5 32+bit as my os but not using a particular development tool as of now and just sticking to the normal text editor called the KWrite. I am learning C++ and MySQL on my own and want to know if the connection between the …

Member Avatar for Ancient Dragon
0
87
Member Avatar for Lost in Code...

I have a school problem, I'm not going to try and hide it. This is for Oracle9i: SQL class. The question we have to write a code for is: Create a list of customers that will display the characters 'NOT REFERRED' if the customer was not referred by another customer. …

Member Avatar for nikkiH
0
300
Member Avatar for nschessnerd

Hey, so I get a Driver error when I try to connect to my local mysql db. My code is in a servlet as follows [code] Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection con=null; Statement smt=null; con=DriverManager.getConnection("jdbc:mysql://localhost:3306/sql?user=webusr&password=pass"); [/code] Thanks M

Member Avatar for nschessnerd
0
124
Member Avatar for steve.p

Can some one help me to set up a database in mysql. I need more of a logical help.

Member Avatar for peter_budo
0
58
Member Avatar for EnderX

I am currently responsible for a set of server units. Recently, the group of users working with one of these units informed me that they were having problems with a php-based report generating program. I did not write the program; my predecessor did. I did manage to track down the …

Member Avatar for EnderX
0
391
Member Avatar for cmills83

Hello, I tried searching but didn't see anything. How involved is it to copy a database to another server? Currently the database is on a cpanel server and I need to copy it to my new server. I copied the rest of the site and everything seems to be working …

Member Avatar for peter_budo
0
58
Member Avatar for M40

Hi. I have tables like these: [B]table1 [/B]([U]table1_id[/U], table1_attribute1, table1_attribute2) [B]table2 [/B]([U]table2_id[/U], table1_id*, table2_attribute1, table2_attribute2) The primary key of the first table is table1_id. It is auto incrementing and it is also a foreign key for the other table - [B]table2[/B]. Let's say I want to add a new record …

Member Avatar for M40
0
140
Member Avatar for andy3250

HI, I'm still rookie guy with mysql database, I have a mysql script file called "MYBox" in notepad and I want to export to the one of folder directory but I don't know to do that from Does. I need someone help me what command do I need to type …

Member Avatar for andy3250
0
328
Member Avatar for cancer10

I was wondering what is the Database Storage Capacity for the following databases: MySQL 5 Microsoft Sql Server 2005 MS Access 2003 Thanx

Member Avatar for cancer10
0
108
Member Avatar for prashant_nirgun

Hi, I'm running MySQL 4.0.13, connecting from PowerBuilder 9 using ODCB Connector 3.51. I'm facing a problem where whenever I issue a SELECT COUNT(*) statement from PowerBuilder

Member Avatar for prashant_nirgun
0
146
Member Avatar for jeet_portal

in my each jsp page i have to write this code to connect with Mysql database Class.forName("com.mysql.jdbc.Driver").newInstance(); String url ="jdbc:mysql://35.212.176.25/tri"; Connection con = DriverManager.getConnection(url,"root", ""); now i want to make this code in a separate jsp page and then only include this page in my current jsp page where ever …

Member Avatar for jwenting
0
159
Member Avatar for nathanpacker

Hey, just need a little help on this one. I have a script allows a user to choose from a list of files in a directory for a form. When they submit the form, it adds the files name and url to a couple fields in the database for that …

Member Avatar for nathanpacker
0
94
Member Avatar for jeffry

Hi, I have a table named 'team' which has fields such as name,contactno and dob. My entries are: For eg: name : Arun Kumar K contactno : 9445123880 dob : 27 Mar I want to display the name of corresponding members(here Arun Kumar K) on the previous day of his …

Member Avatar for jaikar
0
205
Member Avatar for peter_budo

Can somebody please help me to little customize the view of the phpMyAdmin? Curently this is what I [URL="http://www.peterbudo.f2s.com/extra/myAdminC.jpg"]see [/URL] but I would like to have as [URL="http://www.peterbudo.f2s.com/extra/myAdminW.jpg"]this[/URL]. Simple, I don't like options to be displayed as list of links but as tabs. What shall I change in config?

Member Avatar for peter_budo
0
148
Member Avatar for hegRT

Hi, Im new to JSP and I am trying to add data from a simple registration page using JSP to a table in mysql, My code seems to be working OK howerver when I check the table in MySQL Control Centre...no new records have been added, I am able to …

Member Avatar for jwenting
0
174
Member Avatar for ryy705

Hi, I just installed MySQL on my computer and went though a decent MySQL tutorial. Now I need you guys help me out so I can get my java programs to connect to MySQL. I am using the following code from a book to connect. [code] import java.sql.*; public class …

Member Avatar for ryy705
0
469
Member Avatar for tech291083

Hi, I am new linux and using Fedora Core 5 32+ bit at the moment. In order to install mysql and related stuff I prefer to use the terminal and apply the following commands yum install mysql-administrator yum install php-mysql etc. But these are the only two I am aware …

0
19
Member Avatar for jeffry

Hi all, I am a newbie in PHP_MYSQL.Please provide me script for reminding bdays of the concerned persons on those days on the index page we view first.I stored b'days in my table as (eg:27th Mar,03rd June etc).My table has also info such as name ,contactno and email id of …

0
63
Member Avatar for Braga_ESI

Hi, I'm in colledge and I have to finish this thing by tomorow mornig... So I'm asking if anybody cal give me some help on how to call and execute mysql procedures in PHP... I already tryed this but it dosen't work... :eek: [URL="http://www.daniweb.com/techtalkforums/showthread.php?t=41143&highlight=procedure+php+mysql"]link[/URL], Sorry for my english and thanks …

Member Avatar for Braga_ESI
0
79
Member Avatar for shark0302

do these tables look like they will work? i want theerror.errorcode to be a forgin key in the hostname.error but i don't know how to do the insert or if it's even posiable the way i have it set up. thank you, shark [INLINECODE] // Table: error Create Table: CREATE …

Member Avatar for theonlydrayk
0
88
Member Avatar for greenphpcoder

hey jsut a quick note for all you guys, dont know how many people are familiar with pears db_objects but it is a clean way of executing sql without having to write any, to find out more : [URL]http://www.php-library.com/pear_man/package.database.db-dataobject.html[/URL] anyhows, just a thought to people who are having trouble with …

0
66
Member Avatar for squid

Hello all im new member and newbe abiut programming. i'd like to ask about this program. [CODE]when i run the script it show like this : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rekor/public_html/admin/top.php on line 6 You are not an administrator[/CODE] here the script …

Member Avatar for azarudeen
0
160
Member Avatar for bobby08

Hi, im running this website,,,worked so hard on it for about 5 months straight. i got it finally up and runnin, and the first 3 months went smooth. all of a sudden my MySQL DB drops...every table inside...just GONE. my site went down and error messages were received throughout my …

Member Avatar for pty
0
77
Member Avatar for newMeg

Hi, I have two tables that stores product details which is carinfo and products.I did it in 2 separate tables as the products are by diffrent category and therefore the fields are different. I'm not sure if that was the correct way doing it coz i seem to have problem …

Member Avatar for newMeg
0
104
Member Avatar for leapon75

Hi, i have a problem, I'd like to load a file mediumblob from DB mysqli () and save it on directory ("../uploads") on a server, using a php page. Can you help me ???? :sad:

Member Avatar for mbacon
0
57
Member Avatar for vssp

Can any one tell me what is the lastest released version (not a alpha or beta version) of MYSQL?

Member Avatar for stymiee
0
50
Member Avatar for xibnoe

i have a fied (book_number), the value is "aaa.bbbb.cccc.ddd", How can i sort the result order only by "bbbb" and ignore a, c, and d. thanks

Member Avatar for xibnoe
0
118
Member Avatar for vaisakh

Dim strInsert As String Dim cmdInsert As OdbcCommand Dim cn As OdbcConnection cn = New _ OdbcConnection(ConfigurationSettings.AppSettings("ConnectionString")) strInsert = "Insert into realestate.city_master(city_Name)Values(city_name);" cmdInsert = New OdbcCommand(strInsert, cn) cmdInsert.Parameters.Add("city_Name", city_name.Text) cn.Open() cmdInsert.ExecuteNonQuery() city_name.Text = "" cn.Close()

Member Avatar for campkev
0
77
Member Avatar for nathanpacker

Hey, I'm doing a simple INSERT command, can you tell me what's wrong with it? I won't bother you with the php right now, cause I'm simply trying to get it work in the MySQL command line. Here is the exact command: [CODE] INSERT INTO Birthdays(ID, firstname, lastname, birthday, group) …

Member Avatar for ad_rulz
0
3K
Member Avatar for sweetguymel

Hi guys I just want to know few sources for online tutorial for SQL and SQL server. i am veyr new to this kind of stuff and trying to learn SQL and SQL server by myself. if i can get few links through which i can access online tutorial kind …

Member Avatar for loopylouis
0
89
Member Avatar for nathanpacker

Hey everyone, I wasn't sure if this should go in the php section or this one, so hopefully this is right, if not, move it for me. I have a form that a user fills out, it posts the information to a MySQL database, and then spits out the information …

Member Avatar for nathanpacker
0
89
Member Avatar for SquirrelHunted

Hi there all you fine specimens of Web Developers. I have an issue that is of course a large one for me but, I'm sure all you experts will scoff at my ineptitude:) . I have been enlisted to create two web pages, both for family, and of course both …

Member Avatar for Ancient Dragon
0
90
Member Avatar for R-Type

Hello, I've just installed a new script and i'm getting this error [code]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource[B]/home/www/ [/B]line 13 [/code] This is line 13: [code]while($row = mysql_fetch_array( $result )) [/code] Is this wrong?

Member Avatar for R-Type
0
134
Member Avatar for solomonski

Hi Im trying to import a .sql file into my mysql database version 4.0.16. and am continually getting an 1064 error. Ive tried the reference material from mysql.com but am still struggling to import it. I do have phpmyadmin version 2.5.4 installed however i would rather persevere with the shell. …

Member Avatar for ses5909
0
91
Member Avatar for DigitalAngel

I have never used MySQL and am a little unfamiliar with the pros and cons of using it. Is it true that it has no front end? I know that it is free but would like to know what the options are if we use JSP, ODBC or VB as …

Member Avatar for ses5909
0
195
Member Avatar for vr4indian

hello friend i have two website . both hosted on diff. server now what i need is to connect second website database from first website *** detail *** when user register on first website a insert query should also make on second website database. can you tell me how can …

Member Avatar for ses5909
0
74
Member Avatar for alkaholik

I'm not sure if I should post this in PHP or MYSQL, oh well. I have a nfl predictions site, and I want to dynamically update my stadings from another table in the database. I have one table (called: matchData) with all of the matches with the following fields: lid …

Member Avatar for ses5909
0
101
Member Avatar for ajrobson

I got this servlet off of coreservlets.com i want to know how i can edit it so that it connects to my database to get catalogItem instead of using static html. /** A catalog that lists the items available in inventory. * * Taken from Core Servlets and JavaServer Pages …

Member Avatar for jwenting
0
87
Member Avatar for Killer_Typo

[B]Intro[/B] Before we start need to create a databse to work in (i will assume you are using phpadmin to do this) just go to (databases)... and in the blank textbar create a new database, and call it phpforms then open up your command prompt and enter your mysql shell …

Member Avatar for snipertomcat
0
533
Member Avatar for chupacabra

python 2.4.1 mySQLdb 1.2.0 kernel 2.6.12 Hi, How can I make the following statement so I can search for any string? Right now I need to input at runtime %whatever I'm looking for% between % signs to get all records matching that query. I want to have this statement set …

Member Avatar for locosway
0
138
Member Avatar for kanakana

Hi This is my first post. I need a help on db designing for one requirement. 1.) For a domain name i will be collecting three statistics every day for one year. I thought of creating table for a domain name with each column (for each date). These column will …

Member Avatar for Ancient Dragon
0
67
Member Avatar for web_gost

Hi Iam new with php & making searching module for client.for searching i select two values from DROP DOWN list i.e: Category & City, Third value is the search string entered by the user like Hussain & co. Now wht i want is that , it giv me results by …

0
73
Member Avatar for AlPhA

Hey, Does anyone know where the settings for MySQL's Query timeout is located? I think it should be in one of the ini files, but i don't know where i can find this. Thanks! AlPhA

Member Avatar for redsa
0
125

The End.