10,940 Topics

Member Avatar for
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
166
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
Member Avatar for heni_pro

i've anothe question, in here. I've made a registration form which 've region and zone with selection type. Main thing is wheni select the region, the zone list must come out as selection method from the DB. i've got the problem in php codes... help me outt...

Member Avatar for peter_budo
0
68
Member Avatar for mridatrix

i was just doing a simple thing in C#, just trying to put the values feeded in the text boxes in sql database. i am giving the code below the code executed perfectly but when i went to look into the table data there was no data inserted...... pls HELP...!!! …

Member Avatar for peter_budo
0
99
Member Avatar for Scooby08

Would anybody happen to know which of these ways is the better way to run your queries?? Would it be better to have all your SELECT queries before the actual <html> code starts, or would it be just fine throughout the page in the <body> tags?? Is one slower than …

Member Avatar for Shanti C
0
113
Member Avatar for dharam_05

i want to insert new row in second table and this table connected to first table. How can i do that?

Member Avatar for AllieK
0
142
Member Avatar for vijiljones

I having a requirement to store the image in mysql and also retrive the image and display in the browser. Please help me. how to do

Member Avatar for peter_budo
0
36
Member Avatar for lydia21

hi how to combine three tables in a single query.please send a sample code thanks

Member Avatar for Shanti C
0
131
Member Avatar for skinbug

Bit of a php and sql issue, so thought I'd try here... for a registration form, I have created an sql file such as... [icode]firstname varchar(30) not null[/icode] ...etc...for all the fields, which I then import to the database. But then the form also has 15 checkboxes where the user …

Member Avatar for skinbug
0
477
Member Avatar for lydia21

hi i want to join four tables.i used left join.thougn value are there in my db all the datas from seekers_qualification, seeker_target tables are getting displayed as Null.but there is no Sql error [code=sql]SELECT seekers.firstname, seekers.middlename, seekers.lastname, seekers.totalexperience, seekers.mobile, seekers_qualification.qualification, seeker_target.jobtitle, seeker_target.ann_salary, seeker_target.state, seeker_target.relocate FROM seekers LEFT JOIN ( SELECT …

Member Avatar for lydia21
0
103
Member Avatar for wmf1116

Dear JSP friend, I'm new in JSP. I would appreciate if someone can help me in creating inner joint 2 table from MySQL DB and display the result in JSP as report. Please help me....

0
41
Member Avatar for theimben

I have the code below but how do I submit the form to a table? [CODE=php]<?php ////////////////////////////////////////// //// MySQL Database Connection /////////// ////////////////////////////////////////// $host = "localhost"; $user = "theflick_divx"; $db_name= "theflick_divx"; $pass= "password"; $conn = mysql_connect($host, $user, $pass) or die(mysql_error()); mysql_select_db($db_name, $conn) or die(mysql_error()); //DivX Table echo "<form id=\"divx\" name=\"divxsubmit\" …

Member Avatar for theimben
0
186
Member Avatar for Scooby08

I have an invoice type of system and am having troubles trying to update an item.. I have 3 tables that deal with the orders.. Here they are: [code] CREATE TABLE `dw_orders` ( `order_id` INTEGER unsigned NOT NULL auto_increment, `customer_id` INTEGER unsigned NOT NULL, `order_date` DATETIME NOT NULL DEFAULT '0000-00-00 …

Member Avatar for mcd
0
123
Member Avatar for Scooby08

I'm trying to figure out a way to get this if statement to work.. [code] $array = $_POST['field']; foreach ($array as $key => $value) { if ($value does not exist in database) { $query = "INSERT INTO..."; elseif ($value >= 1) { $query = "UPDATE... "; } else { $query …

Member Avatar for Shanti C
0
111
Member Avatar for justinmyoung

I'm looking to have people register times (like 2:34, 2:35.04, etc.) into my database. Do you use integers values or something else? Thanks!

Member Avatar for Shanti C
0
58
Member Avatar for dsgnews

Hi Friends, I need your help. Whenever I do a query on localhost it retrieves a value, but when I try on live it shows an error? What could be the problem?

Member Avatar for izzi
0
155
Member Avatar for suganyabavani

Hi All, I need a hlp how to connect Mysql wit outlookexpress, so that i hav to retrive data from mysql to outlook express. Regards, Sugan

Member Avatar for vssp
0
117
Member Avatar for vibhashin

You need a column type which will be able to store time and date in the range 1900-01-01 - 2199-12-31. Which column should we choose for this range ?

Member Avatar for Shanti C
0
68
Member Avatar for vibhashin
Member Avatar for psathish2

How upload file to mysql db in server and show to link in next page the uploaded files ..

Member Avatar for shadow_kira
0
115
Member Avatar for vibhashin

Your operating system and/or filesystem places a limit on the size of files. You need to create a table that is greater than the maximum file size. How can we resolve the problem ?

Member Avatar for pritaeas
0
134
Member Avatar for rich_m

I want to write a MySql procedure which returns a formatted XML file i.e. 'OUT BLOB'. Has anyone come across such a procedure or is it better to make a Java etc... code do the same?

Member Avatar for rich_m
0
84
Member Avatar for charbel007

Hello Everybody In Php iam using the checkbox and it has been one month i can not solve it; when i select one checkbox from several ones , and i click send e-mail= it is sending to all e-mails; it is not sending to the selected checkbox ; I need …

Member Avatar for charbel007
0
799
Member Avatar for Askali

I am currently working on a small game, and couldn't get my head around if this could be done within mysql easily or even at all. Within the map there can be creatures in different areas, and to limit them, I used a pool to seed the creatures that could …

0
51

The End.