10,940 Topics

Member Avatar for
Member Avatar for peterv6

First off, let me state that I have read the FAQ about this error, and have tried all the fixes, with no success. If anyone can give me a hand with this I'd be grateful. I've got some PHP web pages that connect to a MySQL database. I've got a …

Member Avatar for kireol
0
109
Member Avatar for sharal

hi forum i was working with odbc and used odbc_exec(). but when i used this in mysql this is not working i also used mysql_query() but this is not working too here is the code [code=php]$id; $sr; $cs='fa'; $q2="SELECT MAX(ser) AS mxid FROM (SELECT * FROM Table1 AS T2 where …

Member Avatar for sharal
0
243
Member Avatar for StefaRSA

HI, I am using Roshan's Ajax dropdown code for my two ajax dropdown menus. All is working fine, but when I want to use $_POST in the submitted form with FireFox, its not working...??? Its working fine in IE. Can anybody please help me with this problem? The Form where …

Member Avatar for essential
0
158
Member Avatar for Ibn Saeed

Hello I would like to know how to display orders placed on a certain day. For e.g. I would like to display orders placed today. My MySQL database contains the following tables: 1). orders 2). orders_statuses Under [B]orders[/B], I have the following fields: 1). orders_id 2). orders_placed_date Under [B]orders_statuses[/B], I …

Member Avatar for Ibn Saeed
0
120
Member Avatar for salibaray

Hi there, I'am developing a system for banner selection (affiliates) and I have tested the system throughly on my local machine and everything works just fine, but when I have uploaded it to my GoDaddy account and tried to use my system I got the following error: Warning: mysql_fetch_array(): supplied …

Member Avatar for salibaray
1
247
Member Avatar for StefaRSA

HI, I am using Roshan's Ajax dropdown code for my two ajax dropdown menus. All is working fine, but when I want to use $_POST in the submitted form in FireFox, its not working...??? Its working fine in IE. Can anybody please help me with this problem? The Form where …

Member Avatar for Tulsa
0
133
Member Avatar for malikfirose

i heard there is a data type call blob in mysql to store image,can any one help me in which data type the image should be stored to db, or if any one send a link of a sample project with storing image to mysql using c# , that would …

Member Avatar for Ramesh S
0
309
Member Avatar for thecodingbee

Hi there, i have a problem with this updater script which means that when i click update, change the record, and press submit-it says record changed or something like that, but does not actually do anything! Here is the code, it is supposed to be three files- list_file.php, update.php, update_ac.php, …

Member Avatar for thecodingbee
0
93
Member Avatar for arshadshaikh

Is it possible that select records for example 20 records from the table randomly, but in addition 1 certain record for example 3rd record. Let me explain: SELECT * from table limit 1, 20 rand(); In this way I will get 20 randomly records but I want that one certain …

Member Avatar for Menster
0
90
Member Avatar for Venom Rush

Hi all I've been trying to find a way of doing this and have come up dry. Is this possible? If so could someone tell me how to go about this? Much appreciated Venom Rush

Member Avatar for Venom Rush
0
83
Member Avatar for zenix

Hello, I am making some progress on this database I am building for practice...I am new to programming...and was wondering if there is any way to add navigation functionality using buttons or links under the fields being displayed to go to the next or previous record. I Also am trying …

Member Avatar for zenix
0
105
Member Avatar for nigelburrell

Hi, I'm not entirely sure which forum to post this question because I cannot determine whether it's a MySQL, Joomla, or PHP issue. But I will post it here, as some of you may know about this. I am using a custom built "user" table in my MySQL database, and …

Member Avatar for nigelburrell
0
163
Member Avatar for o12357

Hi everyone, i would like to know whether the result of a mysql query executed from one php page will be available to another php page on the same site. thanks!

Member Avatar for o12357
0
65
Member Avatar for bubbafunk1

I have recently taken over the running of an e-commerce website. Once in a while i will need to increase the prices of certain products by any given percenatge. The products all have a code starting with 3 letters and then digits. for instance: ffc1234, ffc1245, dcc4544, dcc5799, vff300, and …

Member Avatar for bubbafunk1
0
958
Member Avatar for jhappy

hi there, help anyone..i have problem in my query..i need to query with multiple values. for example..in where patientid could be one or more values like this where element = 'element a' or 'element b' or 'element c'...the values are dependent on what the user inputs in his search list.. …

0
54
Member Avatar for nickj

Hi, Is it possible to have a subquery within a case statement and perform greater than / less than comparisons on the value returned in the subquery? i.e. [code] select case (select price from product) when < 100 then 'cheap' when < 150 AND > 101 then 'fairly expensive' else …

Member Avatar for cgyrob
0
162
Member Avatar for khanayub_chand

I have installed Mysql 5.1 and it did install. But when i configured mysql, It gives me an error while staring the Service saying "Could not start the MySQL service". I have Reinstalled the Complete Mysql by deleting all the registry keys but still the same error is being displayed. …

Member Avatar for digital-ether
0
74
Member Avatar for MervinKoops

Hello, i'm building a server application in C#.net which connects to a MySQL server via ODBC/Connector 5.1 .Net If a execute a query it works but when i try to exectute a query after waiting a while (ex. 5 minutes) i get an error which says: "The connection has been …

Member Avatar for MervinKoops
0
1K
Member Avatar for ayesha789

Is it possible to design a search box which suggest the values from the database. Its very cool. can show the data from the page but its difficult to show from the MYSQL Database Table. If you have any example please share with me. [CODE=html]<html> <head> <script type="text/javascript" src="clienthint.js"></script> </head> …

Member Avatar for ayesha789
0
150
Member Avatar for sarithak

Hi frnds.... I need code for PHP AND MYSQL POLL... It should contain admin part for inserting poll quetion, and saving all data into database.. In the user part also having graphical bar representation... ex:This is the way i want.. [B] [url]http://www.ndtv.com/news/polls/poll_details.php?pollID=505003&poll_saved=1#postcommentarea[/url][/B] Plz give some URLs regarding POLL.. or Plz …

Member Avatar for sarithak
0
149
Member Avatar for Chirag Fisher

Its urgent please help!!!!! animaldetails(Table 1 ) Animal_Id int (primary key) IsMilking boolean Milking_Capacity varchar milking (Table 2) Animal_Id int (primary key) Month_Year varcahr (eg. '6 2009' -- Means June 2009) Day1 varchar Day2 varchar and so on (till 31) milkingevent(Table 3) milking int (primary key) Requirements: 1. I need …

0
55
Member Avatar for goangus

I have used sql for a while but never to any advanced degree I would very much appreciate some help. I have 3 tables: [code] member, member_details and reg_options [/code] member holds all of a member's details like email, password, username and it has a primary key called id. member_details …

Member Avatar for kvprajapati
0
75
Member Avatar for sarithak

Hi frnds... I saw previous threads regarding photo gallery in this forum.. All threads start from errors in code.... But i want Image gallery total code with db...I was also doing gallery, but it looks not good..code is working fine..but look and feel is not good...also it takes more time …

Member Avatar for mrcniceguy
0
159
Member Avatar for thecodingbee

[ICODE]<?php $con = mysql_connect("localhost","teachms_fooduse","science0"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("teachms_foods", $con); $result = mysql_query("SELECT * FROM Foods"); echo "<table border='1'> <tr> <th>Name</th> <th>Shop</th> <th>Price</th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['Name'] . "</td>"; echo "<td>" . $row['Shop'] . "</td>"; echo "<td>" …

Member Avatar for emarshah
0
99
Member Avatar for ejazmusavi

Hi every one I am new to php and trying to connect PHP and MySQL my code is as below [code=php] <html> <body> <?php $My_con= mysql_connect('localhost'); echo $My_con ?> </body> </html> [/code] but this error occurd [B]Warning: mysql_connect() [[COLOR="Red"]function.mysql-connect[/COLOR]]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Program Files\EasyPHP …

Member Avatar for emarshah
0
57
Member Avatar for rrlogu

Hi All, I am new to PHP and MYSQL. I installed Apache2.2, MySQL Server 7.0 and PHP 5.2.10. I created database and table in MYSQL - its working fine. PHPINFO() - its working fine. When i tried to connect to my MYSQL using PHP with the following code, i am …

Member Avatar for rrlogu
0
101
Member Avatar for elamigosam

I am getting this message and I have checked my code and it seems to be all OK but I ther another reason that this message is showing up, that I maigt not know. PLESE HELP.... Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in file.php on …

Member Avatar for elamigosam
0
134
Member Avatar for diafol

I recently came across an example where binary data was stored in a column which related to the sum of all foreign key id integers. This was the scenario: id [int] from [int] message_title [varchar,100] message [text] to [int] I assumed the 'to' field was a foreign key on the …

0
57
Member Avatar for santhanalakshmi

Hi, [B]This was Mysql Backup Batch Script [/B] Script named as [B]mysqlbackup.bat[/B] REM [at] echo off for /f "tokens=1" %%i in ('date /t') do set DATE_DOW=%%i for /f "tokens=2" %%i in ('date /t') do set DATE_DAY=%%i for /f %%i in ('echo %date_day:/=-%') do set DATE_DAY=%%i for /f %%i in ('time …

Member Avatar for pritaeas
0
2K
Member Avatar for Chirag Fisher

Its urgent please help!!!!! animaldetails(Table 1 ) Animal_Id int (primary key) IsMilking boolean Milking_Capacity varchar milking (Table 2) Animal_Id int (primary key) Month_Year varcahr (eg. '6 2009' -- Means June 2009) Day1 varchar Day2 varchar and so on (till 31) milkingevent(Table 3) milking int (primary key) Requirements: 1. I need …

Member Avatar for Chirag Fisher
0
64

The End.