11,093 Topics

Member Avatar for
Member Avatar for newnetzerouser

Hello every one… I need help with VB 6 and MySQL. How to format the font in rich text box / text box (like - M3(M to power of3) 6 and also need store and select same text. Kindly help me. For information: I just tried some methods with the …

0
48
Member Avatar for qazplm114477

I'm trying to pass several create statements through mysqli->multi_query, I tested the multi_query statements with a couple of queries and it works and when I called it with my actual create statements it just wouldn't go through... there weren't any errors and it returned true. I tested the query itself …

Member Avatar for qazplm114477
0
1K
Member Avatar for andydeans

hi, i want to add an end time in my query using my time to call column. at the moment i have a time to call which will be the start time however i want to add timetocall as endtime which is 15 mins after the timetocall column. i am …

Member Avatar for andydeans
0
181
Member Avatar for pallen

So I have a basic database of books set up. I am trying to use PHP to query the db and send back the results. I can sort of get it to work, but not working how I would like. The issue is that the search term that queries the …

Member Avatar for richieking
0
262
Member Avatar for andrewliu

Hello, I have set up a searchable database code for my website and I was wondering if it is possible to filter the database if I have two of the same names. Example: my database consists of names and other information, but I have similar names but different information for …

Member Avatar for andrewliu
0
108
Member Avatar for jimmiller96

Hi all, Fairly new at SQL, and running into the following problem. I am trying to create a query to count the number of unique fields in a column and display, but can't seem to get it right. For example, each day there are x number of entries from y …

Member Avatar for Brillig
0
277
Member Avatar for ryan311

hi i manage to upload 1 file and save it to the server. how can i add more button to upload a file and save it to mysql? i want is after the user upload a file theres another a button to upload again another a file how can i …

Member Avatar for richieking
0
173
Member Avatar for akvlko

Hi There! I have a Ajax Function copied from W3Shools I have modified them as my Requirement but it won able to send the xmlHTTP request to my PHP page for result here the function [CODE] function showUser(str,txtId,mth,url) { if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } …

Member Avatar for mahavir123
0
114
Member Avatar for changeco

You could say I bit off more than I could chew... However, what's done is done and I'm pulling the rest of my hair out and looking to the DaniWeb community for help... I am building a site that people can log in to and select classes that are owned …

Member Avatar for theonly
0
139
Member Avatar for niths

--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 'Resource id #10' at line 1--- [code] <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" …

Member Avatar for richieking
-1
343
Member Avatar for kadriirdak

Hi There, I am using a sql query to show a row to users. The Problem is in the database there are single as well as duplicate records. My 1st code is – Works good if user has no duplicate records; [CODE] SELECT contacts.forenames, contacts.surname, addresses.postcode, contacts.contact_number FROM contacts LEFT …

Member Avatar for kadriirdak
0
140
Member Avatar for ryathegr8

hi.... can anybody give me link for php compiler exe file???? and mysql...whateva needed to build a web application.... i'll be thankfull....

Member Avatar for akvlko
0
193
Member Avatar for artvor

Hello, it's about a week that I'm searching for a simple script that do this: So when value is 0 checkbox must be not checked and the opposite if value is 1... So when I check box it must send value= 1 to my mysql DB and if it's not …

Member Avatar for akvlko
0
230
Member Avatar for chandu_jagtap

i had created a function which convert the string in Proper case but i want to modify all the records in a particular table by just providing the table name to the function so the function/procedure will have to update all the records in proper case, in record by record …

0
68
Member Avatar for Mr.Kazaam

I was following this tut. on how to install Apache, PHP, Mysql, and PHPmyadmin. I need a bit of help! I get a [B]"Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mysql_test.php on line 15"[/B] everytime I test the mysql thing. What ive …

Member Avatar for R1Programmer
0
280
Member Avatar for tomtetlaw

When I try to log into mysql with the command [icode]mysql -u root -p[/icode], i enter the password then it gives me the error: [code] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/usr/sbin/mysqld/mysqld.sock' (20) [/code] I really don't know why it's trying to use '/usr/sbin/mysqld/mysqld.sock' because …

Member Avatar for richieking
0
182
Member Avatar for dschuett

Alright, so I have been working on building a photographer a website. She requested that she would like a page that would allow users to log in and view their proofs and only allow THEM access to their own pictures. I have successfully created a log in page using sessions …

Member Avatar for richieking
0
619
Member Avatar for unnamed17

#include <my_global.h> #include <mysql.h> int main(int argc, char **argv) { printf("MySQL client version: %s\n", mysql_get_client_info()); } I got the error when i try to compile the above code.

Member Avatar for Ancient Dragon
0
56
Member Avatar for unnamed17

Hello, I have a txt file of the following format: 315151,34.56,1,1,54442221,23344445 512512,12.54,1,1,23444442,45612345 I am using the following code to parse it and it works: while( fgets( output,sizeof(output) ,file) != NULL ){ i=0; token[i] = strtok(output,","); while( token[i] != NULL){ i++; token[i] = strtok (NULL, ","); } dec2bin(atol(token[4]),binaryBefore); dec2bin(atol(token[5]),binaryAfter); dec2bin is …

Member Avatar for Ancient Dragon
0
246
Member Avatar for shancq50

Hi friends I am working on a project where I need to show results based upon user queries.I have created the pages,but results are not showing.as I am new to php I can't figure where the problem is. Here is the code [code=php]<html> <head><title>Showing Results</title></head> <body bgcolor="#666666"> <?php include_once "connection.php"; …

Member Avatar for hielo
0
120
Member Avatar for cy163

Hi ALL THere is a data table from a flower shop which looks like [CODE] CustomerID Flower John peony John lily John Lotus Mary peony Mary lily Mary chrysanthemum Lisa chrysanthemum Lisa peony Lisa kapok [/CODE] I would like to find those customers' ID who buy the same n flowers. …

Member Avatar for jbisono
0
79
Member Avatar for akvlko

Hi Friends ! I Need a Paging Script such as Gmail for my College Project Which is a CMS based on Windows Sky Drive with Email Facility....! Thanks in Advanced!

Member Avatar for Stefano Mtangoo
0
116
Member Avatar for david_r

I am having an issue with populating values from a form into a mySql database. When the code attempts to send the insert query to the database, it returns the error, ERROR: Incorrect decimal value for column 'purchase_price' at row 1 I think I can understand what is happening here. …

Member Avatar for david_r
0
200
Member Avatar for philip.s

Hi guy's, I am missing something, what on earth is wrong with this script, I can not get it to insert all my values into a table. [CODE] $host="localhost"; // Host name $username="root"; // Mysql username $password="1234"; // Mysql password $db_name="database"; // Database name $tbl_name="input table"; // Table name $que …

Member Avatar for Caeon
0
83
Member Avatar for frank754

There are tons of posts in many forums about this, and I'm sure it can be done easily with custom code for each button, but if Visual Studio has any merits, this should be much easier. What I'm trying to do is update some fields in gridview, then next time …

0
57
Member Avatar for ksbrace

Ok, so I have 2 tables sales_ppl and potential_clients. I want to assign the clients to the sales people in a round robin fashion to distribute them more evenly by state, etc.. like one client gets assigned to the first salesp_name, the second client ot the second salesp_name, third to …

0
49
Member Avatar for arjen

hello guys i have a question bout my sql. I create a system in vb.net using my sql database but the problem when i create a report using microsoft report viewer it does not detect mysql database whether i create a new connection..what is the problem??..

Member Avatar for arjen
0
157
Member Avatar for appnub

[URL="http://mbvb6.blogspot.com/"]http://mbvb6.blogspot.com/[/URL] click to download mysql to access converter in vb 6.0

1
66
Member Avatar for dschuett

Ok, so I will do my best at explaining this... I have set up a database of our company's Parts Ordered forms. I have created a php form that allows users to inject new POs into the database. Which works successfully. I am working on the search form to allow …

Member Avatar for richieking
0
3K
Member Avatar for arctushar

Hi I have table consist of [B]ID,name,father & mother[/B]. Id is uniq. Now I want that when anyone enter id, it will give [B]name,father and mother[/B]. what is the easy and small way or script. please help me me

Member Avatar for jsmall26
0
97
Member Avatar for Ahiru

I would like to calculated an expected profit. I have got the following table: OrderID productID regionID available_volume price sales_per_day What I would like to have: A table grouped by productID and regionID each with the (expected) profit per product and region. Profit is calculated by price*expected_sales with following conditions: …

Member Avatar for rch1231
0
133
Member Avatar for Capt Spaghetti

Thanks to a forum member I have moved a little forward but now I am stumped on how to convert a passed value to a variable so it can be used to search a MySQL database. When I use the passed variable as the value I receive the following error: …

Member Avatar for Capt Spaghetti
0
133
Member Avatar for jackparsana

HI, pls help me in this.. How to import Excel Sheet data into SQL Server 2008.? i use Excel 2010. SQL Server 2008. how to import data? thanks in advance. jack

Member Avatar for Bruce100
0
243
Member Avatar for jonow

Hello. To start off I am pretty bad at MySQL and PHP. I want to set something up that people can enter their cell phone numbers and it would be added to a server. Then I could go and send a message out to all of these numbers. I want …

Member Avatar for Bruce100
0
108
Member Avatar for happygeek

Many of the biggest forum-based online communities, including DaniWeb, are powered by vBulletin software. So it came as something of a shock when the BBC reported that a [URL="http://www.bbc.co.uk/news/technology-10714192"]vBulletin security flaw means that any hacker could "easily access the main administrator username and password for a site"[/URL]. But is the …

Member Avatar for Bruce100
1
612
Member Avatar for sutanu_halder
Member Avatar for RobotFX

Hi! I'm looking for a way to search and replace certain strings in a database table I have. Those are the commands I execute now from within phpmyadmin: [CODE]UPDATE `feeds` SET `title` = REPLACE(`title`,"Ƅʒ","a") UPDATE `feeds` SET `title` = REPLACE(`title`,"î","i") UPDATE `feeds` SET `title` = REPLACE(`title`,"Ć…Åø","s") UPDATE `feeds` SET `title` …

Member Avatar for RobotFX
0
2K
Member Avatar for teedoff

Hi ok I have a table: "rlbTerms" that contains basically a list of terms and their definitions. I create a page with a query that returns all the terms and definitions in a table layout and are order by terms ASC. What I want is a way to create anchor …

Member Avatar for teedoff
0
103
Member Avatar for kadriirdak

Hi There, I do have 2 tables; Contacts table, Communications table Contacts table rows are; contact_number, forename, surname Communications table rows are; contact_number, number (number is used for emails) What I have is a little form to check/find out the contact number by filling; surname forename and email. Once they …

Member Avatar for kadriirdak
0
234
Member Avatar for hotice47

hi to all i am making a chat app using php/mysql i am faceing a problem here ..i want that user click on button and it give him a random online user from database...but dont know how to do it ..i am trying.. [CODE]{ $i=0; while ($i < $num) { …

Member Avatar for Taywin
0
244
Member Avatar for FlyByNight73

Hi All, I am working on a booking system for vacation rental properties. I have two (simplified) tables properties and propertyAvailability: properties:- propID propName propertyAvailability:- propID dayOfTheYear availabilityStatus Rather than use dates for the bookings I convert everything to dayOfTheYear (using ColdFusion) and each DOTY for each property has a …

Member Avatar for FlyByNight73
0
206
Member Avatar for venet

Hey guys, I have a table called 'rank' which contains information about music - more definitively, it stores peoples votes (1 to 5) on a particular song. The table layout is as follows: id | songid | userid | blurb | useful | useless | thetime I have written a …

Member Avatar for rch1231
0
109
Member Avatar for divyakrishnan

There is an a problem on declaring variables on MYSQL stored procedure.The code I used I used is shown below. [CODE]DELIMITER $$ CREATE /*[DEFINER = { user | CURRENT_USER }]*/ PROCEDURE `emp`.`third_SP`() /*LANGUAGE SQL | [NOT] DETERMINISTIC | { CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES …

Member Avatar for hielo
0
157
Member Avatar for iammirko

Hi I am using the following query: [CODE]"SELECT * FROM members WHERE name LIKE '$searchKey%';"[/CODE] Where $searchKey is a variable that contains the string to be searched. The problem is that the code only searches until it has found a space and even if characters after space match the value, …

Member Avatar for iammirko
0
101
Member Avatar for jlego

I am going to try to explain this the best I can I didn't develop the original version of this, or the part that rights it to the database. in our company, there is a program that takes PDF files and stores them in our mysql database as blobs. The …

Member Avatar for jlego
0
937
Member Avatar for kadifo

Hello everyone, Im new at this site, and I hope I can get some help for my assignment. I have been asked to do the following: Build a pyramid using PHP and MySQL and depends on how many rows. For now I have made the following in my mysql: blocks …

Member Avatar for chrishea
0
179
Member Avatar for Shaswat

How do you find out how many checkboxes have been checked for given Question? For example, you have question called "Hobbies:"with checkbox options of Reading, Biking, Travelling., I want get the count of the hobbies.

Member Avatar for v srinivasa rao
0
121
Member Avatar for mac4281

I have a site i've done in wordpress with multiple select boxes loaded from the database. How would i take the selected options from the select boxes and send the user to the corresponding url?? The select boxes are not chained or connected at all. Do they need to be …

0
86
Member Avatar for SunnySideUp

Hi, I am looking to get some help as to how I can create a script that does an Instant live search which displays results as I type: For Instance: 1) I arrive at a page and it has all lists of members from a database already displayed. 2) Then …

Member Avatar for sleign
0
236
Member Avatar for jagan605

the code: [CODE][/CODE]CREATE TABLE `mysql`.`emp` ( `EmpNo` INT NOT NULL, `EmpName` VARCHAR NOT NULL, `Job` VARCHAR NOT NULL, `Mgr` INT , `Hiredate` DATE NOT NULL, `Sal` INT NOT NULL, `Comm` INT , `DeptNo` INT NOT NULL ) ENGINE = MyISAM; [CODE][/CODE] the error: Error executing SQL commands to create table. …

Member Avatar for CimmerianX
0
118

The End.