10,932 Topics

Member Avatar for
Member Avatar for abhi_tec

Hi This might be a basic question for all of u, but i need help from you guys. here is my query select (sum(datediff(dd,DateAdmitted, DateDischarged))/count(*)) AS Avrvg from table1 where DateDischarged is not null this gives me the result as 4 in the column Avrvg. but the actual result should …

Member Avatar for pritaeas
0
89
Member Avatar for AON07

First off I am new to PHP, I am trying to display categories from a mysql db in a drop down menu. for some reason it is not displaying the category options. Need help with the code. Can anyone help me out. "the db has two fields "id" & "category_name" …

Member Avatar for AON07
0
132
Member Avatar for heni_pro

I'm having a problem in displaying data from the table.I've a candidate table in the db. i 've got the problem when i try to select the place of the candidate in the main html code. the html has the place selector, frist name, middle name and partystatus of it. …

Member Avatar for langsor
0
136
Member Avatar for tegansnyder

Hello everyone. This is my first post to this site. I've used it before as a reference and now I'm here with a question of my own. I'm currently storing some data in a row like this: "apples, oranges, pears, bananas, peaches" Basically the row contains just a few terms …

Member Avatar for tegansnyder
0
75
Member Avatar for adelsin

Hello, I manage Sun servers for a living that are ONLY used for DNS. With that said, I've been hired by another company to manage their dedicated server. P4 1gig with CentOS is what they have. They are running mysql, php, and apache 1(httpd). What concerns me, after this transfer …

Member Avatar for dklima
0
164
Member Avatar for atplerry

I have a php webpage file that contain all the file and the code i want to edit that database content from all the file extrcted from the www folder of the wamp serve rthat will be use to connect to the database pls where will i get the database …

Member Avatar for buddylee17
0
135
Member Avatar for gpdrums

Hi All: I have an extensive website in which I would like to echo the name of the company various pages after the user logs in. I think I should be using the $_SESSION global, but I'm having difficulty implementing it, placing it in my code, and knowing what php …

Member Avatar for MVied
0
199
Member Avatar for andrew13d
Member Avatar for anuj_sharma

hey guys, I have made a database using mysql and php. I have also put in a search option. But what i want is that if the item which is being searched for is not in the databse it should return "Database Not Found". I am not able to execute …

Member Avatar for anuj_sharma
0
76
Member Avatar for anuj_sharma

hey guys, I have made a database using mysql and i am showing it on the browser using php. now the problem is that i only want those columns to display which have entries or some data in them for a particular row. Suppose that if there is one entry …

Member Avatar for architact
0
92
Member Avatar for tuse

Hi all! I am trying to connect to a remote MySQL database. This database is located on my LAN at the address 192.168.1.2. I am using MySQL Connector/ODBC 3.51 (MyODBC 3.51) for the connection. The connection string that I am using is the following- Driver={MySQL ODBC 3.51 Driver};Server=192.168.1.2;Database=mydb;User=root; Password=;Option=3; The …

Member Avatar for tuse
0
92
Member Avatar for iamlevicious

Hello, I am a graphic designer who does some web design on the side. The store I work at had a website that the boss wanted transferred to a different host. So I downloaded it off the server and uploaded it onto a new one. I knew that I was …

Member Avatar for pritaeas
0
104
Member Avatar for shadowrider

how may i create stored function in phpmyadmin simple one is create but one i try to use a variable in function it is mysql manual error. can anyone help me.

0
70
Member Avatar for derekcpt

WHO CAN CRACK THIS ONE FOR ME. I have never figured out how to do this. About 2 or 3 years ago, I tried varios methonds which I found on the net. When adding data to a mysql database, I'l like the text to be the way, including the line …

Member Avatar for antwan1986
0
61
Member Avatar for rickya100

Hi. Thanks for looking. I am setting up a dedicated server for the first time to host a site and I have the FTP accounts set up, the PHP and MySQL packages installed. MySQL administrator GUI tool installed but I cannot get phpMyAdmin to work. I have unzipped it and …

Member Avatar for rickya100
0
201
Member Avatar for agsd

Hi, maybe my problem has a very simple solution, but I'm going crazy to find a way to do that. I have a single table that looks like this: Number | Value (both string and numeric) 123 | foobar 123 | 23846 123 | foobar 345 | 34523 345 | …

Member Avatar for dickersonka
0
70
Member Avatar for welbyobeng

Hi what sql query will I use to checks the "users_theme" table and finds all the user_id's which exist in this table and not the "users" table. Once I have those id's that exist in the user_theme table that does not exisit in the users table I want to delete …

Member Avatar for Jaulm
0
75
Member Avatar for Shanti C

hello friends.... I am PHP programmer using mysql as my database... Now it is the time to make fast all my queries ,which im using in my programming... I heard about indexing... Tel me what is indexing,how to put indexing to my table... mainly what are the advantages and disadvantages...or …

Member Avatar for pritaeas
0
107
Member Avatar for Jaulm

Using MySQL..I have a stored procedure that contains an input parameter defined as a text value. A list of ids are passed in through that parameter... the input parameter is used in the where clause of a select within the stored procedure, however, currently I have this created as a …

0
72
Member Avatar for drewtemp

Hey guys, I need a "little" help with a query. I'm trying to pull information regarding referrals from search engines which grab the keywords. For example, two people search for [b]foobar[/b] and another searches for [b]barfoo[/b]. I would need the results returned similar to this: [code] Hits | Page URL …

0
55
Member Avatar for tomii

Hi All, I am using VB6 with mysql database recently. But I am having problem with showing the text type of mysql field value in a Msflexgrid. Msflexgrid1.TextMatrix(i, 3) = "" & rdoRS.rdoColumns("products_publisher").Value This line gives error message. Anybody could help me? Many thanks. Tomii

Member Avatar for tomii
0
80
Member Avatar for mousey182

Hi Guys, Im having problems with some mysql select statements. I have a database containing 7 tables in the following format: [U] Adverts [/U] Field Type Null Default advert_id int(11) No 0 frequency int(11) No 0 [U]keywords[/U] Field Type Null Default key_id int(11) No 0 keyword varchar(20) No [U]keywords_to_adverts[/U] Field …

0
55
Member Avatar for pedramphp

Dear folk, what should I use for [COLOR="Red"]Price[/COLOR] Field in Data base I have used BigInt But I know I could do it with Decimal , I ned to do it without any Limitation of the size of the digits and the numbers after dot ( . ) so what …

Member Avatar for pedramphp
0
64
Member Avatar for Chaster

Hi everyone, well, my problem would be:There is a database server which contains no databases. So there is nothing to connect to (as it is needed by the DriverManager.getConnection instruction). How can I create a new database under these circumstances? Thanks, Chaster

Member Avatar for Chaster
0
134
Member Avatar for derekcpt

Hi there. I need assistance with, I guess, a PHP date function. There is a way I can figure this, but its really not reliable and I guess it won't even work. So all you guru's, here is what I need to achieve; I am just writing a simple reservation …

Member Avatar for langsor
0
148
Member Avatar for Scooby08

I was wondering how to store this date into the database: Friday, August 28, 2015 and this time: 8:00PM I have one field that collects the date and another for the time.. Im looking to store them in this format, 0000-00-00 00:00:00.. Is there some way to turn this date …

Member Avatar for buddylee17
0
104
Member Avatar for cellus205

Right now Im having trouble getting data from a MySQL table and creating a new datatable to store this. I have a TreeView control that I am trying to dynamically add nodes to. The query that I have is returning the Attachments column of all rows where Owner = (parameter), …

0
79
Member Avatar for Mylena

Hello, Please, if anyone knows how to pass a Javascript integer variable as a parameter into php mysql_query. Below gg1 is successfully converted to an integer (i checked it using some maths additions), and now i need to pass this value to BirdID. The last line with innerHTML works fine …

Member Avatar for buddylee17
0
165
Member Avatar for andrew13d

hi everyone, I am trying to create an inventory using php/mysql. However, I am using a webpage such that the viewer or user indicates or picks their choice by making continous selections on the spry menu. For example, if the first choice is "x", another menu appears with several options …

Member Avatar for andrew13d
0
106
Member Avatar for welbyobeng

I am using mysql and I have a table called "users". how will i get it to show only rows that have duplicate emails in the "email" field. I want the emails in order. what sql query will I use?

Member Avatar for welbyobeng
0
111

The End.