2,070 Topics
| |
Here, i'm trying to fetch the image from database. In my database i can see a image file size ([BLOB - 62.3 KiB]). But, it didn't work. i didn't get any error here. i'm confused where i made a mistake here? <?php include('config.php'); ini_set('display_errors', '1'); error_reporting(E_ALL); try { $stmt = … | |
Hello, I was trying to view all the data from a single from a database after the button "search" is clicked and the output will be inserted into corresponding textboxes for future editing. After I entered the ID(1) I get an "OleDbException was unhandled" " Data type mismatch in criteria … | |
how to edit a record in database by using vb6, i don't any clue :( | |
Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/kamsarph/public_html/index.php on line 3 | |
hy i got a combo box and datagridview in my form and few other controls (to insert new record into my database),after the insertion is succcesful i want the inserted item to be displayed in my combo box and gridview by then only (i.e without restarting the project) could u … | |
| |
hy i m trying to do a smal vb.net project using sql server 2008 in vs2012,and i dont know how to use those database in my project for eg : using select/insert/update/delete queriesfor my controls(textbox,combobox datagrids etc..) please help me with detail how to connect database and use it in … | |
Ok so i an very new to this site and am trying my luck with PHP. Got a great idee to make some cash but now to implement it is a whole new game for me. I want to keep the selceted value of the select box after the form … | |
Good day folks. Problem: My program needs to import data from a database and display them in a table then manipulate and display the data in various ways. That bit is solved the next part is where I need help. The program then needs to save locally... 1. the newly … | |
Hi, i'm trying to select two values from my database. $nc ='North Carolina'; $t ='Hello'; $q = 'SELECT COUNT(state, title) AS c FROM all WHERE state = "' . mysql_real_escape_string($nc) . '" AND title = "' . mysql_real_escape_string($t) . '"'; $rq = mysql_query($q); $fetch = mysql_fetch_assoc($rq); $count = $fetch['c']; echo … | |
hi i am currently working with php which requires registration once the user registers with his/or her details then an email is sent to the user for activation once the link is clicked the account is activated this works perfectly but the question is how do i expire the link … | |
Hi, I am using VB6 and phpMyAdmin connected by WAMPServer for my system. I am new in this language. Here's the code in my that seems to be wrong: Private Sub cmdsubmit_Click() Dim rs As ADODB.Recordset Dim strsql As String strsql = "insert into table1 ( surname, firstname, middlename, house, … | |
i want to develop android app using html, css & jquery mobile in dreamweaver CS6 that integrated with phonegap. My app will send & receive data from database in remote server. But the problem is how to connect to the database in remote server? this is because phonegap just support … | |
i got a problem where i want use 2 form which form 1 is to find info in database and form 2 for show the data but when i use call form 2, the pop up appear as invalid below is my coding Private Sub cmdFind_Click() con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Fairus\Documents\docklet\my … | |
hlo all, i need to write a code in php oop for registration without using form and data directly goes in the database. i try to write the code for this. i show u that code and help me to correct that or by giving me another code. the database … | |
Im having a problem with this. I want to echo out the number of post from every city in N.C Example: Wilmington (24) <--*24 is the number of post. Charlotte (35) Raleigh (15) include "connect.php"; $wil ='Wilmington'; $cnt = mysql_num_rows(mysql_query("SELECT add_city FROM dbAdd WHERE $add_city='$wil' ")); echo $cnt; This is … | |
How to correctly/standardly define schema for neo4j database in my C# application? In my application, I have nodes with properties and relations with properties. I want to define templates/Classes of these nodes and relations that can then be created and related at run time and retrieved as objects of a … | |
i want to create a new data base of existing database.. the name of database willbe given by textbox. | |
please am new to database management but the question i have a form for my input by new users but i want to get the user name and password from the form to create new priveleges to the database so that when the user log-in the next time his username … | |
i am using employee table to test if i am doing the whole program correct. I have 5 buttons. one is to add records and another to save(commit), to update, to delete and to clear. I am having trouble with the code to save the record to the data set. … | |
| Having just found 'traits' - see http://www.daniweb.com/web-development/php/threads/468928/php-trait-method-conflicts-trait-inheritance#post2043565 I was wondering whether they could be used to share a DB connection object across disparate classes, or would the old singleton or dependency injection methods still be the way to go? I'd value any views on this. |
Hi, I have a already designed web page with tables and stuff, but there are challenges for me to insert or include php and inserting the data that is from mysql to the tables in the webpage. I do not know how to do it to maintain the integrity of … | |
hi all I had make this samll method to insert data from c# forms into my oracle database the code processed fine but when I go to sql developers software to check if the record has been inserted or not I found nothing... so whats wrong with it please thanks … | |
for($i=1; $i<=($jumlah_row_tabel_atas+1); $i++) { $satuan = $_POST['PP_row_'.$i.'_satuan']; $word_2[$i]="SELECT id_unit FROM manage_unit WHERE name_unit = '$satuan'"; $q[$i] = mysql_query($word_2[$i]); $data_X = mysql_fetch_array($q[$i]); $id_unit = $data_X['id_unit']; $harga_1 = $_POST['PP_row_'.$i.'_harga_1']; $harga_2 = $_POST['PP_row_'.$i.'_harga_2']; $harga_3 = $_POST['PP_row_'.$i.'_harga_3']; $id_drug = $_POST['id_drug']; $value = $value_array[$i]; $word="INSERT INTO relation_mu_and_unit (id_drug, id_unit, priority, value, harga1, harga2, harga3, last_edit) … | |
My form has a 'save' button and 'select from previous month' button. what 'save' button does is insert all the values into my database. save button code: if(isset($_POST['jansave'])) { $basic = $_POST['basic']; $allowance = $_POST['allowance']; if($basic&&$allowance) { require "connect.php"; $total=($basic + $allowance); $query=("INSERT INTO january (basic,allowance) VALUES ('$basic','$allowance')"); $janresult=mysql_query($query); } … | |
hi I am trying to save multiple images into one ID and I am getting no where ...I am posting the code so for storing and retrieving image (one image)...but need to store more than one ....need some help here ... using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using … | |
Hi guys, Am using RedBeans ORM in PHP, Today only am going through the RedBeans ORM, i think RedBeans is the Very simple to manage database. But am getting doubt at which is better to use either rows(queries) or beans. `$sql = 'SELECT author.* FROM author JOIN club WHERE club.id … | |
how to connect sql server 2000 database with multiple connections I got a sample database DB1 and DB2, the DB1 I have table A, and I got a table on DB2 B, between A and B table no direct relation thanks for the enlightenment | |
HI, I created an app to add a clinc details to the sqlite3 db from xcode. the code is below. The (sqlite3_step(statement1) == SQLITE_DONE) does not execute it. I dont get an error or anything. I can't figure out what exactly is wrong.Apprecite if someone can tell me what i … | |
Hi there, this is the code of my contactcontroller.cs : using ContactMvc.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ContactMvc.Controllers { public class ContactController : Controller { // // GET: /Contact/ [HttpGet] public ActionResult Index() { return View(new ContactMessage()); } [HttpPost] [ValidateAntiForgeryToken] public ActionResult Index(ContactMessage post) … |
The End.