10,940 Topics

Member Avatar for
Member Avatar for aran87

Hello is it possible to create a bar chart or some sort of chart based on two coloums from mysql table i want the graph to be displayed on php when the search is carried out im not sure if this has been done before but if so what do …

Member Avatar for make.rohit
0
719
Member Avatar for pbt

I am doing a campus project in php regarding musical site and i have to insert ziped files of songs in the database. so, i don't know how to deal with the zip files. Therefore, help me.

Member Avatar for somedude3488
0
95
Member Avatar for Talguy

How can I monitor my MYSQL database and the number number of threads and connections it has from a remote computer. my database is running on a ubuntu box and I would like to monitor the database from any of the three major platforms (windows, mac, linux)

Member Avatar for Airshow
0
57
Member Avatar for ROTC89

ok so i am working on a program that has a table of all the presidents and info on each of them. i tried to insert the date of their birthdays and deaths, but just got 0000-00-00 for a result when i went to see what the outcome looked like. …

Member Avatar for ROTC89
0
74
Member Avatar for navyadvr

[B]AUTO INCREMENT definition mismatch for Timestamp Datatype.[/B] Please explain what is the cause for this?

Member Avatar for pritaeas
0
37
Member Avatar for prateekm

[code=php]<?php $con = mysql_connect("localhost:3306","pm" ,""); if (!$con) { die('Could not connect: ' . mysql_error()); } // some code ?>[/code] on writing the above code it is showing the following error: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'pm'@'localhost' (using password: NO) in C:\wamp\www\p2.php on line 83 Could not connect: Access …

Member Avatar for prateekm
0
201
Member Avatar for CoSIS1

I want to find the percentage for each question’s answer and how many user response to that question The answer either yes , no, escaped (null) Table structure :[CODE] CREATE TABLE useranswers ( userAnswerID int(10) unsigned NOT NULL auto_increment, answer varchar(45) default NULL, userType varchar(45) default NULL, ques_tesxt varchar(300) default …

0
70
Member Avatar for papermusic

hi, i need some help on inserting checkbox values into the mysql database. what sort of data type should i use for mysql to store these? for example i need to insert a few hobbies as checkbox 1.basketball 2.football 3.hockey i need to be able to perform a search and …

Member Avatar for mrcniceguy
0
141
Member Avatar for bhavnaJobcentre

Hello, I am currently designing a site that displays photography, and am exploring the different ways in which to do this. I am trying to develop, using PHP and MYSQL, a way of having image links held in a database and then the first image in sequence to be rendered …

Member Avatar for diafol
0
219
Member Avatar for itisnot_me

hey all i got a question where i am not sure that it will be possible. i already have my table in my data base which has values in it ex: first_property. and i made a little script which helps me grab all the names in the form that i …

Member Avatar for itisnot_me
0
88
Member Avatar for xide007

Hello everyone, I wrote this AJAX script to process a php file to remove data from a MySQL database, but for some odd reason it isn't working so I've come here for some help, hopefully someone on here will be able to guide me to solving this issue :) Here's …

0
60
Member Avatar for whiteyoh

Hi All, I am trying to display the content of a single row from MySql with the following code but the echo is displaying nothing at all. Please can you advise as to where i can find the error? I have a feeling its something to do with the loop, …

Member Avatar for jcacquiescent27
0
241
Member Avatar for ranyapalanivel

Hi friends I have some names and address in macro excel.how can i import the values which are present in the macro excel to the mysql through php thank you

Member Avatar for jcacquiescent27
0
99
Member Avatar for cooweck

I've a example text file below. I need to pass this data to mysql. and can anyone help with this. I figure out the way of connecting database, and the thing I am suffering with is transferring below data to mysql actually factors are arbitrary so do choices, so I …

Member Avatar for Menster
0
73
Member Avatar for whiteyoh

Hi All, I am trying to echo the held text in the "Title" field where the id has a fixed value of 1, but i am getting the following error: supplied argument is not a valid MySQL result resource in C:\wamp\www\index.php on line 46 your help would be greatly appreciated. …

Member Avatar for whiteyoh
0
104
Member Avatar for sujeetsin

When I fetch the records from the LIKE the query returns no results but when I fetch records from the equal to (=) then the query returns results. Following user name are stored in the database: (1) `~@#$%'\|/?.&gt;&lt;^&%@()-_+-: (2) (){}[]|\/?&quot;*&^%$#@sujeet` I am searching the records from the LIKE operator as …

Member Avatar for sujeetsin
0
94
Member Avatar for whizzell

[code] <?php include('./Connections/hostgator.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; …

Member Avatar for cwarn23
0
261
Member Avatar for sharal

hello can any 1 give me the idea if we use single web page for both admin and user then how to hide admin priviliges from user??

Member Avatar for sharal
0
116
Member Avatar for slangnit

so i have this code on 3 different pages... and i'm kinda a newb... can u please help. the script is suppose to let someone select a $manufacturer... then from there select a $model... and then finally see the $notes for that model. The script works until it gets to …

Member Avatar for bgeisel1
0
114
Member Avatar for Vandithar

Hi, I have 3 sentences in table. These are the sentences. [code] Spatio-temporal tracking and phylodynamics prm. These are prM based values. All MR values are greater intensity than PRM vales. Values specified are equal to PRm values and PRM-lacZ. [/code] If user specifies the query like this: prm* i …

Member Avatar for Vandithar
0
120
Member Avatar for jorgeberber

Ok help please , cant get my head around this .... i need to build a database that will hold the following : width x drop = price what i actually want to do is a quotation form for my website where the costumer will input the width and the …

Member Avatar for jorgeberber
0
92
Member Avatar for dwdata

I have a form which allows for the user to pick ZERO or MANY items. I was hoping when I SUBMIT the form, all the values would update in the field. Here is the form code: [code=html]<tr> <td><div align="right">Instruments:</div></td> <td width="116" align="center" valign="middle"> <div align="left"> <select name="Instrument" size="5" multiple="multiple" id="Instrument"> …

Member Avatar for emarshah
0
162
Member Avatar for me8042

Hi all, I have a table in which i have 2 columns.i.e. name and ID number as Table1 -------------------------- Name || ID number -------------------------- Mark || 204 Roger || 207 Ronny || 209 Robert || 309 mac || 390 black || Mark || Roger || Mac || Mark || Ronny …

Member Avatar for kvprajapati
0
119
Member Avatar for kapu

Hello. I am trying to understand how to solve a problem I have run across involving self-referential tables. The table stores the name and various relevant details about musical artists. One detail I want to be able to list is the artist's influences. The artist's influences are themselves artists. And, …

Member Avatar for kvprajapati
0
42
Member Avatar for coubury

Hello. Im getting this error on a product page on my website Quote [QUOTE] 'Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/supremew/public_html/catalog/osc/products_new.php on line 89'[/QUOTE] [code] ?> <tr> <td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) …

Member Avatar for Menster
0
224
Member Avatar for complete

Why is installing MySQL on Windows Vista such a bear? For someone who is not a professional database administrator, it seems like I am jumping through hoops. This page [url]http://forums.mysql.com/read.php?11,200958,204223#REPLY[/url] pointed to this page [url]http://www.sqlservercentral.com/blogs/brian_kelley/archive/2008/04/04/installing-5-0-51a-mysql-community-edition-on-windows-vista.aspx[/url] which suggests this page [url]http://port25.technet.com/archive/2007/03/16/mysql-on-windows-configuration-install.aspx[/url] which points to this beautiful pdf file [url]http://port25.technet.com/videos/research/MySQL_Windows.pdf[/url] Ah, now …

Member Avatar for complete
0
111
Member Avatar for Niccloud

I am trying to search for something in the database. However, this error keeps popping up. I was wondering if anyone could help me. Thanks [code=php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <? $host = '127.0.0.1'; $database = 'lab11'; …

Member Avatar for Menster
0
288
Member Avatar for thompson007

I am using a function in php for all select queries so that i can dynamically retrieve data from my database ..... I just wanted to know that is my code secure and efficient or if their is a better way to do this, if so please point me to …

Member Avatar for Menster
0
98
Member Avatar for Donish

Hi All, it's me again :) How can I attach MySQL to my ASP.Net application? I want to create user table in MySQL and then use the login controls in my application to give the user access and different roles? Thanks in advance! Donish

0
96
Member Avatar for DaveyMoyes

hi all - can anyone help with the following - I am unable to upload any data to my database - I can connect successfully as i have changed the password, database name and got the error's i was expecting. but for some reason, the data just doesn't seem to …

Member Avatar for kireol
0
68

The End.