10,938 Topics

Member Avatar for
Member Avatar for Tornado2000

I have two issues. I have simplified the tables involved. Issue1. advertisers is a table with two columns unique id and name views is a table with two columns id and advtid msgs is a table with two columns id and advtid How do I fetch only those advertisers who …

0
43
Member Avatar for tanha

Hello everybody, I have this text file, and when I import them into mysql through phpMyAdmin, everything is ok, but the persian (Farsi) not shown correctly, also I use ' utf8_persian_ci ' collation, can anyone kindly plz convert this file into MySQL that farsi data shows correctly too? NOTE: farsi …

Member Avatar for BzzBee
0
104
Member Avatar for jeffc418

Hi all! So I've been reading about the "FOR XML AUTO" function which sounds great, but it hasn't been working when I try it in phpmyadmin. I get an error in the area of "FOR XML AUTO", I know SimpleXML is disabled on my package but would that be why …

Member Avatar for jeffc418
0
245
Member Avatar for shahbaz5144842

Hi to all ! Im new to java n i m working on Project of Web base Image Annotation Tool using jsp and java i have to save n retrieve image in to database which im using is mysql How i can store image in to database not the refference …

Member Avatar for deepalihanand
0
106
Member Avatar for saurav.prasad28

hi all Database Masters Here i have suffer one critical issue,i have two column a and b, Table name : Student "A" "B" "1" "SAntOsh" "2" "SAuraV" "3" "SAriya" "4" "SAnju" "5" "SAthiYa" These are the sample records from my Table field. The "B" column always start with 'SA', the …

Member Avatar for Fest3er
0
143
Member Avatar for genieuk

Hi, I am trying to display the users email address when they login to there account on there profile page.. I have successfully done this for there username as i use $_COOKIE to display the users name with the DB. Problem is i am not sure how to do it …

Member Avatar for genieuk
0
120
Member Avatar for santhanalakshmi

Hi, I have installed the **mysql connector ODBC 3.51** on the remote machine as well as on the local machine. Mysql Connection with VB.Mysql Connection on the local machine its working fine. cn1.ConnectionString = "driver={MySQL ODBC 3.51 Driver};server=localhost;database=dummy;data source=dum;Option=3" When i trying to connect the mysql from the remote machine …

0
59
Member Avatar for joeltonnberg

Hey, I've just started using mysql and I have som problem with JOIN. I have table1 and table2 and I would like to join these two on table1.col1 and table2.col1 to eliminate all identical rows. In addition I need to have a WHERE statement on table1. This is my attempt: …

Member Avatar for saurav.prasad28
0
116
Member Avatar for Lewis_UnderGrad

Hi guys, I've been using asp.net 2.0 over the past 2 years making simple web applications but have never used it with MySQL. I've been asked to create a website for a relative. The site will be a vehicle leasing company. After speaking to owner and understanding his requirements i …

Member Avatar for Lewis_UnderGrad
0
189
Member Avatar for cwarn23

Hi, I have been trying to find a way to get my databases on two external hard drives plus one internal hard drive but I just can't find a way to place each database on a separate drive. The only thing I have come across is windows junctions but can't …

0
63
Member Avatar for onethirtyone

Hey all this is a pretty simple question, basically I connect to a mysql database, and iterate a list of names like this: [CODE]$result = mysql_query("SELECT * FROM Students"); echo "<table border=\"1\">"; while($row = mysql_fetch_array($result)) { print " <tr> <td> " . $row['Student'] . " </td> <td> <form name=\"FRMdelete" . …

Member Avatar for humbug
0
310
Member Avatar for saurav.prasad28

Hi guys, I know what I need, but not sure how to do it.. a) Store values in a database field like: 12|3|43 b) How to retrieve these values as seperate variables. Appreciate any help! :'( Thanks

Member Avatar for nav33n
0
67
Member Avatar for san_cash

Hi!, I am trying to update record but an error is coming. Can any one help. [B]error is - mysql_numrows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\xampp\Test\Report\Despatch\update.php on line 10[/B] [B]here is the script[/B] <? $id=$_GET['id']; $username="root"; $password="mysql"; $database="service"; mysql_connect(localhost,$username,$password); $query = "SELECT * FROM contacts …

Member Avatar for san_cash
0
160
Member Avatar for srpa01red

hi how i can restore database from binarylogs what is the procedure. i had taken a backup and inserted data into the database. now i want to take a incremental backup. i had a binlog as mysql-bin.000013 i am using mac os10.5

Member Avatar for mwasif
0
40
Member Avatar for xmaddness

I am trying to do a simple MySQL query using my db class, but for some reason I am having issues with getting the query through using my db class. If I hard code the db call bypassing the class, it works fine. Here is the class: [CODE=php]<?php //////////////////////////////////////////////////////////////////////////////////////// // …

Member Avatar for xmaddness
0
147
Member Avatar for redburn

[B]I am trying to insert a new record into a mysql database and get the following error:[/B] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '30, 60, 90, DayCreated) VALUES ( 'Rush Shirt', …

Member Avatar for nav33n
0
77
Member Avatar for vidhyaponnusamy

Hi, I want to take a range value from mysql and store that in php. ugid sfidfrom sfidto 7 03010101 03010105 I want to take inbetween values from the column sfidfrom and sfidto and want to store that in php as a array,please help me out Regards, Vidhya

Member Avatar for nav33n
0
48
Member Avatar for Abhilash Cheruk

<?php include 'dbconnect.php'; $query="select * from pnmsg;"; $result = mysql_query($query); while($row = mysql_fetch_array($result, MYSQL_ASSOC)) { $msgs=$row[0]; } echo $msg; include 'dbclose.php'; ?> THis is my code and am working in my local machine it give the same error Anybody help . I could not find any mistake in my code

Member Avatar for nav33n
0
105
Member Avatar for justted

Dear members, I am after some help with a script I am trying to write/use! I am currently re-designing a website for an animal charity for which they would like to add a section in the members area where people can upload their own photos of their animals/pets. I have …

Member Avatar for balamca
0
99
Member Avatar for m-hrt

i have 4 input box of credit card number and 2 boxes of credit card expire date month and year and one for the card holder name i have some code but is it ok or i have to do some thing else [CODE=LANGUAGE]<?php $connection = mysql_connect("localhost","root","password") or die("error connect"); …

Member Avatar for m-hrt
0
106
Member Avatar for sarvajna

I am using mysql as backend in my windows project, some times one of table gets stucked and application also gets stocked after restartin mysql server it will be alright , any alternative solution for this problem... Thanks in advance

Member Avatar for varmadba
0
83
Member Avatar for genieuk

Hi, I wonder if someone could help me please. I basically made a registration form and need to insert the data into the database. I am not sure how i use the MySQL functions to do this, I created a db connection file and included it on registration page but …

Member Avatar for genieuk
0
107
Member Avatar for MCDT.CC

Hi everyone, I have PHPAuction XL V3.1, please may someone help me. I have managed to create the auctions but i cannot bid on them, the following error comes up: update PHPAUCTIONXL_auctions set current_bid=20, starts=2009-05-01 18:21:29,ends=2009-05-02 18:21:29 where id="1336eca400908b7a04133d27be69e27e" You have an error in your SQL syntax; check the manual …

Member Avatar for blocblue
0
131
Member Avatar for jessaherrero

I'm creating my class for mysql in which i have difficulty dealing with the parameters of which to use with prefix '@param' or '?param' or whatever it is. I need your help guys. I have here my stored procedure [code] DELIMITER $$ DROP PROCEDURE IF EXISTS `davidssalon`.`Customer_SearchName`$$ CREATE DEFINER=`root`@`%` PROCEDURE …

Member Avatar for Ramy Mahrous
0
163
Member Avatar for rizrash

Hi i am a beginner in php and mysql.... I have a made a database for registration of a customer in shrare market.... Now what i want to show at the front end is the the person who is entering information has a choice to select from a company through …

Member Avatar for Fest3er
0
127
Member Avatar for koli1976

Hi , I want help in designing a Bonus System Database. I am planning to organize contests on my site where in users will have to answer some 10 questions , and at the end of each day users points will be calculated, based on there answers. Prizes can be …

0
44
Member Avatar for marias

Azul(Hi) i created program on php where i can output data set of any table by submitting query. i need help to input i mean to load data into the table from the HTML file can any one give help please thank you. this is the program i created, so …

Member Avatar for marjan_m
0
181
Member Avatar for santhanalakshmi

Hi, How to export the data from the sql server 2000 to mysql ....Please help me.I had no idea Regards, santhanalakshmi

Member Avatar for Fest3er
0
71
Member Avatar for pbrowne

I have eight tables with the same schema but containing different data: `node_a_data` ( `node_a_data_id` int(5) NOT NULL auto_increment, `timestamp` int(10) NOT NULL default '', `user_count` int(5) NOT NULL default '0', PRIMARY KEY (`node_a_data_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=795 ; The timestamp field just contains a Unix 10 digit timestamp …

Member Avatar for marias
0
96
Member Avatar for tanmoy_india

i am designing a site...under xampp with php...now,i have a table called link where i want to link some special links by fething it from database...but my problem is when i open it ....it happens something like below... suppose I give a url "www.intel.com" in the database by hyperlinking a …

Member Avatar for almostbob
0
82

The End.