10,940 Topics
| |
i.e char fullname[80]; char * prt; [U]in MySQL we can write : select * from table1 where name='fullname'[/U] How to write in C++? while(fullname!=NULL) { executeQuery"select * from table1 where name='"+fullname+"'" }//----I tried this, but dont work. need your help please。。。。。 | |
Hello evryone. I am new to PHP and MySQL. I have created an admin area for where selected people can add, delete, and edit data from a database. I have managed to get the add, and delete to work, but I am stuck with the editing. Can you help? [CODE]<!DOCTYPE … | |
I tweaked a search script I found months ago, and am now getting back around to fixing it... I need some help debugging it... [code] if(isset($_GET['search'])) { $search = $_GET['search']; } $search = trim($search); $search = preg_replace('/\s+/', ' ', $search); $keywords = explode(" ", $search); $keywords = array_diff($keywords, array("")); if … | |
Hi guys, I am working on progamm about reading some words in MySQL then display the results during run time command.But my code keep giving some MySQL errors about I can't read it. Am I making some mistakes with sequence? I am pretty new in C++. [code=cplusplus] //---------------here is code … | |
Hello Every one, im in a need for some help i have the following issue : ---[B] Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\Hosting\00000\html\index.php on line 10[/B] this is what the code looks like Can some one please assist me on what is wrong … | |
Please tell me can we insert data in multiple table with single query in mysql. For example i have two table with name `table1` and `table2` and fields in `table1` are 'id' auto incremented and primary key, second field is 'name' data type varchar of 25 and another table `table2` … | |
hello dear friends i installed visual studio ( full installation) then i got xampp from their site i have mysql and apache running i downloaded the connector from mysql site and i created a simple project to check if i can connect to mysql or not i have made this … | |
Hi there! I new learner in Python. And just couldn't get threading. I wrote this script. [CODE] import sys import MySQLdb if len(sys.argv)!=3: """the program name, mac and ip makes three""" """stop program and send error""" sys.exit("Must provide mac and ip!") mac = sys.argv[1] ip = sys.argv[2] print 'Connected to … | |
hello I am inserting records into a MYSQL table via a loop Records are being inserted, but every now and then the program bombs out with the below message There is nothing wrong with the query line though (If i restart the job, this record will be inserted without issue) … | |
Hi guys, Ok, so I'm using the code below to display the fields from a table on my webpage. I used some code to paginate the results as there's a lot of records, however I can't seem to get it working properly, and I'm going crazy trying to work out … | |
Hello, When trying to use mysqldump, I got this error message: [QUOTE]mysqldump: Got error: 2003: Can't connect to MySQL server on 'localhost' (10061) when trying to connect[/QUOTE] According to the MySQL Documentation Library, error 2003 means that my network connection has been refused and that I should check that there … | |
is it posible to increase a mysql table default value to increase by a number based on another number E.X. i have a default value set to 10 how do i increase it by 1 every 3 minult also if i add a new number "3"(in a box or text … | |
i have a data in mysql in this format.. 1,2,3,4,5,6... can i split and show this data in this format in mysql?? 1 2 3 4 5 6 thanks ijn advance | |
Hello, Being on Access, I would like to transfer some data onto Mysql. But I cannot. Is there an easy way to transfer data onto Mysql? I am thinking that it should not be that hard to do. Thanks for your help. | |
Hiiiii, In my code i have to open mysql connection on all forms, but i dnt wnt to do that, actually i want at the time of log in I connect to datav=base & open connection then use this open connection on all forms and when i logout then close … | |
I have database with a table called orders. The structure is below Index, OrderIndex, OrderNo 111, 1 112 , 1 113 , 1 114 , 2 115 , 3 116 , 3 I want a query that will loop thorugh the database and make the result Index, OrderIndex, OrderNo 111, … | |
I Want transfer updated data between 2 Database MySQL that One of them is in the server Host and other is over localhost . Now What should I do? I'm waiting for your answer | |
I'm running as mysql root user on my system. I can select load_file('/etc/passwd'); no problem But when I try to select load_file('/var/lib/mysql/mysql'); I get NULL as a result why? this file is good, I can cat it as root and view the mysql user data, why cant mysql load_file it? … | |
I've got a database which is getting quite large and slow to query. I only really need the last month of entries for most situations so I'm looking to create structure-copies of two of my tables and then regularly move data from the 'live' two into the 'archive' two if … | |
Can someone help me with this please? I’m playing with a stat tracker, and with the code snippets below I’m trying to get the total result for each page stored in the database. The problem is that I get this warning when I run the script: [B]Warning: mysql_result() expects parameter … | |
Hi Every body Once again I'm in problem and want some help from you all I have written a small code to search a particular value in MySql database and then to display the record based on that value - Like to search a Employee code in database and then … | |
Dear Users, I have used SHA1 encryption method to encrypt password and stored in login table as a blob field. Now, to authenticate the password, i need to decrypt it. I am not able to decrypt. Please help me to decrypt password | |
Can I store a photograph in a mysql table. ? What type it takes...how it is done. Do i have to store only the path??? please explain me. | |
Hello and bonjour everyone I need a bit of hand-holding (pseudo-code) on how to go about accomplishing this task and will appreciate it if you could find 1 or 2 minutes to guide me through. Basically, i need to extract some information from database (different columns) and display it in … | |
I've been working at this most of the day, trying to figure out how I can accomplish this sort of form, even looking through countless sites for anything vaguely close to what I'm trying to do for help on logic or syntax behind this (to little to no avail, of … | |
I am designing a database system to store salary information. It includes different tables (salary,personal info , ect) I want to make it use for different companies. Also i want each set of data to be separated. (by company wise). (i.e. i dnt want all the employee names of every … | |
hi everyone, I've written some code that displays information from a database. However, I added more code that would display a "no records found" message, should the area be blank. The code displays the records perfectly, however if there are no records returned it doesn't show the "no records found" … | |
Hi all, I have a column in my table that auto increments as a counter as new records are added. I would like to renumber the entire column and have it start at 6000. Can anyone suggest an sql line that would allow me to acomplish this? Thanks in advance … | |
i made a registration script but i dont know how to make the whole website and all its directories protected please help. |
The End.