10,940 Topics

Member Avatar for
Member Avatar for superlucile

Hello ! I'm trying to build a link between an applet in java and php. My applet in Java sends data to php. And then php writes data in the database. I use json object my code in java : public static void main(String[] args) { // TODO Auto-generated method …

Member Avatar for diafol
0
337
Member Avatar for KhuramJan

I am using Visual Studio 2012 Ultimate , MySql Database , MySQL ODBC 5.1 Driver I have created a user DSN from Administrative tool in Control Panel (same on both my development PC and Server computer i-e Windows Server 2008) I have deployed web application from my PC to Server …

Member Avatar for KhuramJan
0
581
Member Avatar for sergio_pb

Hello guys, I create a software in vb.net to consulte my database (mysql) with table adapter and connections string, normal and simple application. Now I need to make a publishing, but when I install the aplication in another intranet pc, this pc cant connect my database. I know i need …

Member Avatar for hericles
0
115
Member Avatar for phfilly

Hi everyone, I'm wondering about a potential problem I might get. My problem is lets say I have 2 tables one called **speakers** and **clients**. In the client table the client has the speaker ID's of 1,5,8(SAVED in a STRING field) - *so I'm using explode() to get the values*. …

Member Avatar for phfilly
0
214
Member Avatar for Simon180

Am trying to work out how to update my database for the image name I have selected with out the need of pressing any buttons just the image it self. there would select the image and it would show a preview and auto update the selected image src address to …

Member Avatar for hericles
0
73
Member Avatar for SimonIoa

I am starting to use Flash Builder for php to make an app. I have started with this very good example suggested by a user. [http://files.zend.com/help/Flash-Builder-for-PHP/Getting-Started/Mobile/build_a_mobile_(php)_application.htm](http://files.zend.com/help/Flash-Builder-for-PHP/Getting-Started/Mobile/build_a_mobile_(php)_application.htm) On Step 11 running the PHPUnit i am getting this error PHPUnit_Framework_Error_Warning:mysqli_connect()[<a href='function.mysqli-connect'>function.mysqli.connect</a>]:MySQL server has gone away I am understanding that it cant connect …

Member Avatar for SimonIoa
0
355
Member Avatar for Bile

Hi Daniweb,I'm trying to modify and upgarde My codes from Native mysql to mysqli. My trail seems to be somehow good as I got My hands with the Php Manual Documentation so forth. The Only point I got stuck is where I implimented the mysql's mysql_affeted_rows() and so changed it …

Member Avatar for Bile
0
209
Member Avatar for lostmymom

The above date is stored in varchar type i want to display the error date for rectification. so i tried NOT LIKE '__/__/____' but it didnot work. I want to display the records which does not have the 02/02/2000 pattern. thanks

Member Avatar for rch1231
0
126
Member Avatar for davy_yg

DELETE * FROM image_upload WHERE image_id=51You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM image_upload WHERE image_id=51' at line 1 if(!empty($_GET['image_id'])) { $sqlstr = "DELETE * FROM image_upload WHERE image_id=".$_GET['image_id']; //echo $sqlstr; …

Member Avatar for rch1231
0
203
Member Avatar for bolfescu

hy, i'm having a big problem, thats because i'm new in this, i have two qrys unfort doesnt work if(isset($_GET['id'])){ $id=$_GET['id']; $qry=mysql_query("SELECT *,replace(category, ',', ' ') as category FROM articles WHERE id='$id'", $con); $sql = mysql_query("select *,Total17,sum(q5) Total18,sum(aste3) Total19 from articles where category= how ?",$con); if(!$qry){die("Query Failed: ". mysql_error()); } …

Member Avatar for Traevel
0
176
Member Avatar for anmol.raghuvanshi1

sir i am creating a database with name ams and 3 table with name article (fileds id(auto increment),title,image,contents and category) and 2 table login with user passwd as fileds 3rd table with category. now i want in 1st table id,title,category as primary key but it gives error multiple primary key …

Member Avatar for diafol
0
208
Member Avatar for uchejava

I have this message table that allows users to send messages to one another. sender_id is the id of the person who sent the message. receiver_id is the id of the person who received the message. message_id adds the sender_id and receiver_id together. This is a sample below. id sender_id …

Member Avatar for Taywin
0
183
Member Avatar for Ventech_IT

Hi Guys Please have a look at my model and then read below public function get_events(){ $query = $this->db->get('events',1, 1); return $query->result_array(); Okay so when i run the page i only get my message that no entry's are in the table! So when i insert a entry it displays the …

Member Avatar for Ventech_IT
0
402
Member Avatar for nevek

Hi I have a stored procedure with a cursor which check if a field is filled in after a certain deadline. DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `controleDeadlines`() BEGIN #declaratie variabelen die nodig zijn declare cId int; declare cDeadline text; declare cUitgevoerd date; declare cOpmerking text; declare cStatus text; declare DONE …

Member Avatar for nevek
0
283
Member Avatar for mangel.murti

For one order XYZ can be a buyer and for different order XYZ will be a seller. how to assign buyer and seller responsibilities to users per order basis. give me some example of table structure. thanks in advance

Member Avatar for mangel.murti
0
138
Member Avatar for malatamil

i have two tables. in 2nd table i assigned the 1st table primary key as foreign key. i have two options edit and delete. i can't delete foreign key value and also primary key value in 2nd table.

Member Avatar for mangel.murti
0
209
Member Avatar for Sws_1

what is the error in my two queries ?? $sql="select secretQ,secretA from users where email = '".$email."' "; $out .= "<PassResetQ secretQ='".$row->secretQ."' secretA='".$row->secretA."' />";

Member Avatar for ryantroop
0
56
Member Avatar for vizz

I want to read pdf file and store only contents of pdf file as it is into mysql database. Can anybody help ? please ...... Thanks.

Member Avatar for diafol
0
2K
Member Avatar for Mohamed59

Hello, I have a problem with my connection to the emulator mySql when I log on to my games and I run a command me his crash, is when I see her in my my emulator me this error: Error Message - Connection must Be valid and open (System.InvalidOperationException), its …

Member Avatar for Mohamed59
0
1K
Member Avatar for PierJean

hello! Being a newbie (70 years young) I an trying to complete this php code so my search-form with a multichoice-checkbox may return a selected response on a webpage from mysql 5.4 database. So far I have this query that is working BUT returning ALL members from the DTB regardless …

Member Avatar for PierJean
0
455
Member Avatar for suncica2222

I have association table in mysql that I want to translate into doctrine yaml mappings. List_id and user_id are at the same time composite primary and foreign keys. I'm confused weather I should have in listUserTb entity class both $userId and $user ($listId, $list) fields? Or can id_str from users_tb …

0
112
Member Avatar for ankit1122

do mysql create another table when selecting rows?if this happens it will take up lot more space on hard disk as duplicate entries will be risiding in table formed by "select"...

Member Avatar for Taywin
0
190
Member Avatar for Ventech_IT

Hi guys, Could someone please help me with a small problem i am having? I want to display a message if there are no entry's in a table but for some reason i cant get this right. Here is my Controller: ----------------------- <?php if ( ! defined('BASEPATH')) exit('No direct script …

Member Avatar for Ventech_IT
0
256
Member Avatar for ankit1122

hello i have a column named products in which differernt shops and businesses insert their product names..if it is like a stationery shop it will be saved as TEXT column as [pen,pencil,sharpner,book,copy,fluid,marker,gel pen,ball pen]...in performance point of view whats the best way to find a sub-string in this column...??? like …

Member Avatar for Taywin
0
220
Member Avatar for AntonyRayan

This is my billing table in my sql: id pid quantity total discount price customer 1 1 2 20.00 5.00 15 a 2 1 2 20.00 3.00 17.00 a 3 2 3 15.00 2.00 13.00 b 4 3 1 2.00 1.00 1.00 a This is my product master table id …

Member Avatar for Santanu.Das
0
140
Member Avatar for varma51

Hi All.I had done a project for college which tends to store large amountof students & employee data.it was an web-application developed by using php&mysql. now my problem is that,in one of the Student tables all records were deleted on 3 days back,i'm unware of it.jst nw i checked my …

Member Avatar for Taywin
0
204
Member Avatar for hell hansen

Hi guys, I'm trying to connect my new project with PDO, and for simple reason witch i don't know and i've no idea i'm getting connection failedSQLSTATE[28000] [1045] Access denied for user 'www-data'@'localhost' (using password: NO) I tried everything was in my mind, i tried log to mySql by terminal, …

Member Avatar for hell hansen
0
1K
Member Avatar for hirenpatel53

Hi All I am developing win app so for that i am looking for database of indian State and Its Cities, tryed on google but failed Please help me if have any idea Thanks In Advance

Member Avatar for Ganesh_8
0
10K
Member Avatar for hankmeyer

I am Using a form to insert data into a table i have created, I receive no errors but for some reason, it states it worked, although it does not insert any data, Here is what I'm using: this is the form page: [CODE]<head> <link rel="stylesheet" href="../uploads/css/style.css" type="text/css" /> </head> …

Member Avatar for shafakhat91
0
9K
Member Avatar for AntonyRayan

This is my output tabe: name SUM(billing.quantity) SUM(billing.total) SUM(billing.discount) SUM(billing.price) pen 4 40 8 32 pencil 3 15 2 13 rubber 1 2 1 1 Using : SELECT productmaster.name, SUM(billing.quantity), SUM(billing.total), SUM(billing.discount), SUM(billing.price) FROM billing AS billing LEFT JOIN productmaster AS productmaster ON (productmaster.id = billing.pid) GROUP BY billing.pid ORDER …

Member Avatar for AntonyRayan
0
177

The End.