11,093 Topics

Member Avatar for
Member Avatar for tmarket

I have 2 tables: an IP Address table, and an IP Ranges table. I want to retrieve a list of ranges in the ranges table for which one or more of the IP addresses in the IP address table fall within that range. The IP addresses are represented as integers, …

Member Avatar for tesuji
0
599
Member Avatar for Chagh

hi all, how can we have a select satement in an SP?(i want to return a result set from the SP). i want to migrate from SQL Server to MySQL and i don't know what to do with these SPs. it can be done in MySQL client, but it gives …

Member Avatar for varmadba
0
74
Member Avatar for kutta_vin

Hi friends, I think the MySql is not case sensitive for selecting values. for example I am having a table called dept, Id | Depart 1 | BTECH 11 | it 12 | ibt 2 | BE 21 | cse 22 | ece Now i want to select the capital …

Member Avatar for kutta_vin
0
156
Member Avatar for ckurtz

Hello, i'm a newbie here and i just want to ask if what is the best distro in running PHP, MySQL, Apache? counting on your replies. thanks :)

Member Avatar for icaruslnx
0
158
Member Avatar for davidcitron

Hello all, i have got an issue with a client here, who is running an internal CRM system. we need to get information into our Webserver (Linux-MySQL5) database (dealer lists, product lists, ....) and this information is stored in the CRM. but the CRM is Windows-MSsql. The output is .DAT …

Member Avatar for pclfw
0
186
Member Avatar for godevars

I have just started using DB2 and have been re-introduced to SQL. I want to make sure I post in the right forum with some questions regarding SQL and some basic scripts I have been given - please, let me know if this is not the place. Also, anyone have …

Member Avatar for Ole Raptor
0
63
Member Avatar for misra

Hi I am unable to connect mysql server through jar execution file. But when I am trying to connect through java class file directly(instead of putting in jar file), it is very well connected. I am not able to understand where I am wrong. Please help.

Member Avatar for jwenting
0
25
Member Avatar for AliHurworth

Hi, I'm struggling to get a relatively simple PHP/MySQL script to work. Basically, I've got two tables populated with entries from a database. However I'm getting errors on the second table [icode]mysql_num_rows(): supplied argument is not a valid MySQL result resource [/icode] and [icode]mysql_fetch_array(): supplied argument is not a valid …

Member Avatar for R0bb0b
0
140
Member Avatar for vaibhavs

I am using MySQL 3.23.58 on FC2 I ran PhpMyAdmin >> Runtime Information and it said that "Created_tmp_disk_tables is big, you may want to increase the tmp_table_size value to cause temporary tables to be memory-based instead of disk-based. " My existing my.cnf looks like this: [CODE] [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock set-variable …

Member Avatar for varmadba
0
119
Member Avatar for JeremyReger

Hello all, I am wanting to structure a database that will allow for multiple prices per products. I also want to be able to upload an image and enter details about the product. My initial thought would be to have a product_db and have a price table, a product table, …

Member Avatar for pritaeas
0
111
Member Avatar for AliHurworth

Hi, I'm struggling to get a relatively simple PHP/MySQL script to work. Basically, I've got two tables populated with entries from a database. However I'm getting errors on the second table [icode]mysql_num_rows(): supplied argument is not a valid MySQL result resource [/icode] and [icode]mysql_fetch_array(): supplied argument is not a valid …

Member Avatar for somedude3488
0
235
Member Avatar for e_pech

I'm sorry but I'm totally new on Web Development, I'd like to make a registration form for everyone that downloads a file I have on a Website. The ideal thing would be to send a confirmation email where the link to file is attatched. So basically when a person wants …

Member Avatar for e_pech
0
98
Member Avatar for chsarp_vijay

Hi, I have created one table in MySQL database. I want to use that table in my C sharp application through ODBC. I have installed the ODBC driver also. I have created the project in visual C#, Smart device and WINCE 5.0. Now i want my application will interact with …

Member Avatar for bbkidsdad
0
106
Member Avatar for sammoray

[code]if(isset($_SESSION['admin']) == TRUE){echo "<font face='tahoma' color='#ff0000'>ADMIN : ".$_SESSION['admin']." welcome<br></font>";} $sql="SELECT * FROM messages WHERE messages.user_id=" .$_SESSION['userid']. ";"; $result=mysql_query($sql); [COLOR="Red"]$numrows=mysql_num_rows($result);[/COLOR][/code] for the previous code the browser show me this message: [COLOR="Green"]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/e3lan3.freehostia.com/header.php on line 9[/COLOR]‎ and line 9 is the …

Member Avatar for ryan_vietnow
0
91
Member Avatar for b_bayaraa_d

hi all. i can't write to mysql database in jsp so please send some simple example regards bayarja.

Member Avatar for masijade
0
38
Member Avatar for tech@gmail.com

[B]Hi All[/B] 2 db servers replication interval in every 60 secs right now needs to have length interval ncreased is this o.k. to do - pro's and cons of this Thanks for ur time and help..............

Member Avatar for mwasif
0
61
Member Avatar for jaasaria

hello sir... from our office we are using wamp for our mysqlserver... but i wanted to be connected to my sitemate database only changing the MysqlHost address.. username and also the password... the problem is i cant connected to it.. maybe u already incounter this before and im hoping that …

0
66
Member Avatar for Phaelax

Nevermind, I'm a retard. I had phpMyAdmin opened to the live server, not the testing server which is still empty. I need a drink.

0
75
Member Avatar for lydia21

hi I want to fetch data from four tables using a single query.please tell me how to do that. thanks in advance

Member Avatar for varmadba
0
100
Member Avatar for Fost

Hi guys, Im working on a bit of MySQL and was wondering if there is a way (without using php arrays or other) to search a table for a value (say 1) and return the rows which '1' wasnt found in. != wont work because the table contains more than …

Member Avatar for tesuji
0
96
Member Avatar for daniyalnawaz

hi, i have two entities products and categories. both have many-to-many relation. how can i get the products that are not related with the categories. i mean the ones which not not mapped in junction table. thank you! daniyal nawaz

Member Avatar for varmadba
0
102
Member Avatar for nibbler

I'm looking for some guidance on how to develop a msql query that loops through elemenets in a php array. The array is constructed from a multiple line list box.

Member Avatar for nibbler
0
160
Member Avatar for samarinder

Hi I have two databases ...1st is server database which is in MySql and 2nd is local database which i will create in oracle. I want to have some of fields of 1st database to be populate in in my local database which should be refreshed automaically ... plz let …

Member Avatar for pritaeas
0
62
Member Avatar for kevin wood

i have found this code and would like to know how i can get the column titles to show up at the top of the page. [CODE]$result = mysql_query( "SELECT * FROM merc_users" ) or die("SELECT Error: ".mysql_error()); $num_rows = mysql_num_rows($result); print "There are $num_rows records.<P>"; print "<table width=1000 height=400 …

Member Avatar for kevin wood
0
104
Member Avatar for Killer_Typo

[php] <?php /* declar some relevant variables */ $Host = "localhost"; //location of mySQL on server $User = "michael"; //my username $Pass = "koolaide"; //my password $Name = "phpaccess"; //name of the database to be used $Table = "info"; //name of the table within the database mysql_connect ($Host, $User, $Pass, …

Member Avatar for michael.mckee
0
3K
Member Avatar for colcar2008

Hi, Can you please help me? I need to store the path to an image in a mysql database. Would anyone be able to provide me with a script that can do this? Thanks Col

Member Avatar for peter_budo
0
78
Member Avatar for ztwalsh

I am creating a movie database. Right now I have each movie set up as its own table. Inside each table there are fields for title, summary, rating and so on. On one of my web pages, feeding off this database, I want to show the movie title, summary and …

Member Avatar for nav33n
0
76
Member Avatar for pranabmohanty

hello all, i m new to asp.net.....can anyone send me the complete code to write into the mysql data base.....plz mention the complete code to insert data to mysql database..... i m using asp.net and C#...... thanx in advance

Member Avatar for a496761
0
117
Member Avatar for vamp.ali.ca

i need some help i wana talk about security in mysql 5.2.5 plz send me links (i searched mysql.com site and still i'm not able to get anything about mysql 5.2.5 , no informations were found) 10x

Member Avatar for pritaeas
0
80
Member Avatar for colcar2008

Hi, Can anyone help me here, I want to display an image using the path of the image and the image title from a mysql db? I can upload the info to the db, but I have trouble displaying the image. Here is the code: [code=sql]CREATE TABLE `trailer` ( `id` …

Member Avatar for kvdd
0
931
Member Avatar for dnalor

package packagePgmaLibrarySystemRolandgasparDizon; import javax.swing.SwingUtilities; import java.awt.BorderLayout; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JFrame; import java.awt.Dimension; import javax.swing.JLabel; import java.awt.Rectangle; import javax.swing.*; import java.awt.*; import javax.swing.JSlider; import java.awt.GridBagLayout; import javax.swing.border.SoftBevelBorder; import javax.swing.JScrollPane; import javax.swing.JTable; import java.awt.GridBagConstraints; import javax.swing.JButton; import javax.swing.BorderFactory; import javax.swing.border.EtchedBorder; import java.sql.*; import java.awt.event.*; import javax.swing.ImageIcon; import java.awt.SystemColor; import java.awt.Color; …

Member Avatar for masijade
0
174
Member Avatar for tanha

Hi. I know this is MySQl forum, but maybe some one help me through the below issue: I don't know which file I should download to install postgreSQL, could nayone please guide me which I should download ??? [URL="http://www.postgresql.org/ftp/source/v8.3.1/"]http://www.postgresql.org/ftp/source/v8.3.1/[/URL] I am using Windows OS.

Member Avatar for tanha
0
100
Member Avatar for webguru07

Hi, I am making a mailing program and the problem i'm having is that I want to display the message exactly as it is entered for example, when the sender presses enter for a new line the reciever see's it. I have thought of using <pre></pre> tags but if the …

Member Avatar for fenixZ
0
71
Member Avatar for flashyflashy

Can we arrange a single table in two ways within a page .? I'm in a situation where I need to arrange a single table in two ways within a page, When I test the first piece it works ,even the second piece works great when tested alone, but when …

Member Avatar for Ole Raptor
0
79
Member Avatar for Sheridan

I am trying to execute a mysql query of the form: [code=php] $query = "Select * from individuals where MotherId like '%".$iName."%' or FatherID like '%".$iName."%' "; [/code] I am getting an "unexpected FatherID" error message. FatherID is of course an attribue of the queried table. The query works as …

Member Avatar for somedude3488
0
55
Member Avatar for tanha

Hi. I want to know how it is possible to write your own function "UDF" in MySQL? and how use that UDF in MySQL?

Member Avatar for tanha
0
150
Member Avatar for rickarro

I have a form that inputs data to a database. All is working fine, but what I'd like to do is when it gets to the [code] $result = mysql_query($query) or die ("Error in query: $query. ".mysql_error()); [/code] instead of the mysql_error, I want to display my own error with …

Member Avatar for rickarro
0
5K
Member Avatar for madhavipoudala

[b]hello, i want a help for you all. about mysqlprocedures and functions i am enable to create procedures and functions in mysql so that i am enable to do jdbc colleable statements programs. please help me[/b]

Member Avatar for jwenting
0
72
Member Avatar for ceyesuma

Is someone farmiliar with the travel database that installs with the netbeans installation? I can finally connect to the db and it shows folders to hold tables etc yet there is no tables in the folder. Is there a way to obtain the scrip for the travel db so I …

0
51
Member Avatar for ryy705

Hello, mysq_query($query) returns a valid result set. However, [CODE] function query($query) { return mysql_query($query); } [/CODE] returns a 1. Why does this happen? Is there a way around it? Thanks in advance.

Member Avatar for ryy705
0
114
Member Avatar for dtmd

Hello, i have a database that came with MYSQL statements to get it working but we are using MSSQL and have managed to convert a large proportion of them but there are two statements we are having trouble with and wondered if anyone could help. The first is below: [CODE]SELECT …

Member Avatar for huangzhi
0
161
Member Avatar for kevin wood

is it possible to add a number to a number that is stored in mysql db without extracting the stored number first. i have a count and i am updating the count periodically but i would like to know if i can update the count while it is in side …

Member Avatar for nav33n
0
80
Member Avatar for kevin wood

after i have run my query on a mysql db how can i set the result to equal a variable that i will use later on in the page. i have set the query up like this [CODE] <?php $rand = rand (0, 100); $query = "SELECT broad1 FROM images_broad"; …

Member Avatar for kevin wood
0
139
Member Avatar for kevin wood

i have created a table to store the number of a count which i need for some subtraction at a later date. when i try to get the information out of the table instead of getting the number 5 i am getting resource id # 5. the table has been …

Member Avatar for kevin wood
0
72
Member Avatar for still_learning

Hey guys, Is there any way that I can just simply get the length of a row in a table? Thanks

Member Avatar for still_learning
0
302
Member Avatar for tanha

Hi, I wan to know where the MySQL variables stored? when I execute the [CODE]show variables; show status; [/CODE] I see many more variables, so I want to know the place they are stored in? and the file name too?

Member Avatar for mwasif
0
93
Member Avatar for ceyesuma

For some reason I deleted a sample database that was in the netbeans tutorial. Of course now I need it and I don't where to get it( I tried the google,and will try again) but does anyone know how to obtain the script? Thanks -Steve

Member Avatar for ceyesuma
0
97
Member Avatar for Kavitha Butchi

Hello All, Is there a way how we can pass a PHP variable whose value has been retrieved from MySQL database to the next page? Initially I tried this which didnt help me anyway. [code=PHP] // if user login information is CORRECT then redirecting them to the user home page …

Member Avatar for Kavitha Butchi
0
223
Member Avatar for jdworske

I am running a MySQL cluster test on 3 nodes. 1 management node 2 storage nodes. I can't seem to get mysql to start successfully. All 3 nodes are running Ubuntu Server 8.04 with MySQL 5.1 ... I know this is totally new, however, we are trying to test out …

0
54
Member Avatar for marrrrrrc

Hi, I need to match rows from one table to another table that may or may not have a match on one common column.... the problem begins with bringing back the most recent row in the other table. So, the query I'm starting with is: [code]SELECT * FROM data LEFT …

Member Avatar for tal17
0
112

The End.