10,932 Topics

Member Avatar for
Member Avatar for php-lover

Hi, It's took me a weeks to figure out this query. I'm trying to select all the data from 7 tables but i got empty result. All these table has a link on region_id column. Your help will be much much appreciated. here's my query: [code]$q = 'SELECT rs.*,rr.*,cs.*,cr.*,cl.*,ls.*,ll.* FROM …

Member Avatar for tesuji
0
104
Member Avatar for sankarmal

hi friends i hava two primary key in single table no auto incriment.when i insert the value in jsp i getting like this error. com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '0-3' for key 1

Member Avatar for Sulley's Boo
0
54
Member Avatar for almon

I am new to both c#.net and sql server. I am working on a project in which I have to 2-3 users using their application and connecting to common database in lan. I decided to use c# as my programming language. when coming to database i m very confused. microsoft …

Member Avatar for Ramy Mahrous
0
101
Member Avatar for eagled2

I am building a ticketing system and am currently working on the profile page. I have created drop down menu's so admins can select assign users to a specific group. My page is written in php and when submitting my form everything gets updated except the drop down menu's. I …

Member Avatar for R0bb0b
0
188
Member Avatar for eagled2

I'm new to php and am working on my first large scale project. I am making a custom ticketing system that requires users to login and let's technicians login to work tickets. I am trying to implement a account disabling feature so tech's that are no longer with the company …

Member Avatar for eagled2
0
92
Member Avatar for ncognito66

Hello all: I'm currently building a website for a radio station and I want to setup a programming lineup. The fields I'm using are: ID Title Dayofweek (Show Day) Timeslot (Show Time) AMPM (AM or PM) Description Name (Host Name) Bio (Host Bio) Photo (Host Photo) I set these all …

Member Avatar for ncognito66
0
114
Member Avatar for Rakesh Nagekar

Hello friends, when iam working on mysql server 4.1 the power suddenly went off. and when i restarted the mysql the mysql service is not starting and the error [B]"#2003 - The server is not responding"[/B] is comming can any one please help me to get back the database please. …

Member Avatar for trudge
0
79
Member Avatar for kevin wood

i am trying to set up this db and i am getting a parse error which it says it is on line 24 i cannot see the error. help need [CODE]$sql="CREATE TABLE IF NOT EXISTS `merc_users` ( `****` int not null, `******` varchar (250) not null, `*****` varchar(250) not null, …

Member Avatar for nav33n
0
220
Member Avatar for jakesee

Hi, I don't know what is LEFT JOIN at all, but i accidentally made this query work. Can someone tell me if there is a shorter version of this query? [CODE=SQL] SELECT j . * , k.report FROM ( SELECT x . * , y.category AS parent_category FROM AccountCategories x …

0
56
Member Avatar for sankarmal

hi friend I want insert value to three table in single query any body have idea pls send the query for me advance thanks by san..

Member Avatar for Shanti C
0
78
Member Avatar for rupaknath

hi i am rupak from india, i know little about mysql and i would like to more about mysql. i need help. regards rupak <URL SNIPPED>

Member Avatar for Shanti C
0
87
Member Avatar for Sheridan

Hi: I have developed a website using php with a mysql database running on an Apache 2.2.8 server on a Windows machine running XP Professional. I now want to make this website available on the WWW using my own machine as the host server. Can anyone point me to the …

Member Avatar for martin5211
0
103
Member Avatar for james1700

Hi guys, Me again, I have just noticed something which i cant figure out whats going on. Below the query pulls back and account type from my db however the result which is coming back does have the account type but has a number 1 after it eg: Current Account …

Member Avatar for nav33n
0
194
Member Avatar for veledrom

Hi, I encrypte my data when i insert into database. [code]insert into person (name, psw) values ('john',SHA1('111'));[/code] What about when it comes to checking that particular encripted values? Is there any function to use agains SIH-1. I have a textbox and i wanted to verify it with checking encripted data. …

Member Avatar for tesuji
0
73
Member Avatar for OmniX

[code] Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in config.php on line 60 [/code] I have checked a previous thread and they said it was due to the '' in the select statement. But I dont think this is the case here. All I did was …

Member Avatar for nav33n
0
409
Member Avatar for kvdd

hello, I try the following query: [code=mysql] SELECT IF TIME(hour_end) > '21:00:00' THEN timediff(time(hour_end),'21:00') AS diff ENDIF FROM `hours` [/code] Why whould this not work? Any help would be appreciated.

Member Avatar for tesuji
0
114
Member Avatar for eva_blue

Hello to all, I am quite new to sql, and so the time has come that I don't understand why a query has a certain output.I apologise for the long post but I'd rather describe exactly what I am doing in, hoping that someone can spot the problem that I …

Member Avatar for tesuji
0
77
Member Avatar for blackbird29

I have one application in two version: the online version and the offline version(USB). How can I update the online version after some change in the offline database?

Member Avatar for R0bb0b
0
500
Member Avatar for johnathanamber

Morning eveyrone, Alrightly then, I've already got an HTML form that uses PHP to send information to an MySQL database. I also already have a search form that allows me to search for current information that is already in the database. This is what I want to do, but I …

Member Avatar for johnathanamber
0
411
Member Avatar for inampudi

Hi, i want to upload a excel file and insert those data into mysql. i did in core java , just displayed excel sheet data into output. can you plz tell me how to do in jsp.. if possible send me the code

Member Avatar for peter_budo
1
74
Member Avatar for bajanstar

Hi Guys, This is my problem: In the below table: donor receptor 1 -> 4 2 -> 5 4 -> 6 The above reads as follows... Student 1 donates all of his/her money to Student 4 Student 2 donates all of his/her money to Student 5 Student 4 donates all …

Member Avatar for tesuji
0
95
Member Avatar for OmniX

Exactly what the title says with working demonstration please. I know the code but I am unable to get it working. [code=php] function q($a) { return mysql_query($a); } function a($b) { return mysql_fetch_assoc($b); } $abc="select * from table"; $bcd = q($abc); $cde = a($bcd); echo $cde[$column]; [/code] Thanks, Regards X …

Member Avatar for somedude3488
0
164
Member Avatar for dhandapanik

Hi, I am working in a finance project where each transaction table is having more than 4 Million records just for 3 months. I have user & branch related information on other tables. I wrote a joined query by joining around 5 tables to summarize the report based on Branch, …

Member Avatar for dhandapanik
0
126
Member Avatar for guravharsha

Hi, In main.jsp i wish to display the data from the database( user information stored in user table ). my codein main.jsp is: [code=JSP]<h2> description about user:</h2> <% Statement st = null; ResultSet rs = null; rs = st.executeQuery("Select description from user "); %> <option value = "<%=rs.getString("description")%>" > </option>[/code] …

Member Avatar for peter_budo
0
112
Member Avatar for Venom Rush

Hi all Is it at all possible to do this? I have a number of records that I need to recover. Any help would be greatly appreciated

Member Avatar for varmadba
0
88
Member Avatar for Kavitha Butchi

Hi all, Instead of passing the variables to the other page and coding mysql queries there.. Is it possible that we can use the mysql(DELETE...) query within the anchor tags in the same page? <a href >... to delete a particular row in mysql table? Like having a link called …

Member Avatar for Kavitha Butchi
0
531
Member Avatar for adaykin

Hello, I have the following code, with 6 rows in the database for my query, although the mysql_fetch_row function is only able to get 5 out in my web page. I'm not sure what is wrong with my code, here it is: [CODE] $connection = mysql_connect("my server", "user", "pass") or …

Member Avatar for antwan1986
0
224
Member Avatar for tuse

In most of my VB.NET applications, I connect to MySQL databases using the MySQL ODBC Driver. Recently, I got to know about the MySQL Connector (again provided by MySQL). Which one is better in terms of- a. Performance b. Security

Member Avatar for mwasif
0
50
Member Avatar for DickDeeds

I have version 5.0.27 of MYSQL and when attempting to use AES_ENCRYPT I get the error: Call to undefined function AES_ENCRYPT() Here is a copy of a test query: $sql .=$name[$i] ."='".AES_ENCRYPT($assign[$xx],"36LKFOIREI#"); Can anyone help? tia Dick Deeds

Member Avatar for mwasif
0
56
Member Avatar for myzyzy

I am currently testing replication on mysql 5.0.9 running on Win XP Pro on 2 servers , one as a master , and another as slave , basic master-slave configuration. The slave have 2.5 GigaB of RAM,300GB SATA2 HD & on Intel 2.4ghz Core Duo and the master have 1 …

Member Avatar for mwasif
0
76

The End.