10,940 Topics
| |
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 … | |
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. | |
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) | |
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. … | |
[B]AUTO INCREMENT definition mismatch for Timestamp Datatype.[/B] Please explain what is the cause for this? | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 | |
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 … | |
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. … | |
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) `~@#$%'\|/?.><^&%@()-_+-: (2) (){}[]|\/?"*&^%$#@sujeet` I am searching the records from the LIKE operator as … | |
[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"; … | |
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?? | |
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 … | |
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 … | |
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 … | |
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"> … | |
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 … | |
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, … | |
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']) … | |
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 … | |
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'; … | |
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 … | |
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 | |
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 … |
The End.