2,070 Topics

Member Avatar for
Member Avatar for malik.epperson

I am creating a couponing app where coupons are stored in a database and compared to local ads to let users know when to use the coupons. I have created a database that holds all of the coupons and also one for the user's personal library. I am having difficulty …

0
168
Member Avatar for Sutarusu

Ok, I am running php 5.4 and when I got the dreaded Fatal error: Function name must be a string in /home2/mydomain/public_html/session.php on line 3 I was like OH, BOY. Here is the code it is referring to. <?php session_start(); session_register("userid"); session_register("name"); //session_register("ID"); //session_register("ID"); ?> <?php session_start(); session_register("adminid"); session_register("adminname"); //session_register("ID"); …

Member Avatar for Aeonix
0
318
Member Avatar for Amiet_1

I have uploaded an Image into database through C# application. Here is my code. FileStream fs1 = new FileStream(toolStripLableClientSelectedImage.Text, System.IO.FileMode.Open, System.IO.FileAccess.Read); byte[] image = new byte[fs1.Length]; fs1.Read(image, 0, Convert.ToInt32(fs1.Length)); fs1.Close(); SqlCommand cmd = con.CreateCommand(); cmd.CommandText = "INSERT INTO tblClientDetails ([clFname], [clName], [clAddress], [clCity], [clState], [clPhone1], [clPhone2], [clEmail1], [clEmail2], [clProfession], [clPhoto]) …

Member Avatar for Amiet_1
0
971
Member Avatar for munish_pdf

I need to crearte pdf file from database table using java with multiple rows and column format design .

Member Avatar for jwenting
0
64
Member Avatar for vivekH

I have a arraylist which i want to store in database.I am using preparedStatement so how can i pass my arraylist as parameter to store it in database. my code is: public void insertEnquiryRecord(StudentEnquiryEntity enquiryEntity) { // TODO Auto-generated method stub System.out.println(" hi from vivek.."); ConnectionFactory connectionFactory = null; connection=connectionFactory.getConnection(); …

Member Avatar for jwenting
0
225
Member Avatar for WebMedia_1

Hi everybody, pls i need help here. i ve a video player and i want to populate video on it from mysql database, here is my code. <ul id="playlist1" style="display:none;"> <li data-thumb-source="assets/img/ddd.jpg" data-video-source="assets/video/ddd.mp4" data-poster-source="assets/img/ddd.jpg" data-downloadable="yes"> <div data-video-short-description=""> <div> <p class="minimalDarkThumbnailTitle">ddd</p> <p class="minimalDarkThumbnailDesc">dddd.</p> </div> </div> <div data-video-long-description=""> <div> <p class="minimalDarkVideoTitleDesc">dddd</p> <p …

Member Avatar for WebMedia_1
0
7K
Member Avatar for tahoorasf_1
Member Avatar for <M/>
0
101
Member Avatar for samantha2015

I have a class that implement all my workflow method. At some pointing time, when the request is approved by the workflow, I need to update status in database. For this I need to call the respective service class to save the status. The following method is saving the status …

Member Avatar for samantha2015
0
271
Member Avatar for batoolhussain
Member Avatar for rubberman
0
120
Member Avatar for Stefano Mtangoo

I'm creating Frontend for an application with Established database (am rewriting to be explicit and so there are some things I cannot change. I was looking at Default Register/Login that comes with MVC5 sample and found that its table have fields that are problematic to my app. Specifically, my users …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for Arie_1

I know to save records from database into listview, but how to save listview to database instead.. this is the code for showing record into list view..but can any help me how to change the code to save listview into database? Imports System.Data.OleDb Public Class Form1 Dim con As New …

Member Avatar for Reverend Jim
0
2K
Member Avatar for Sandeep_13

Hi I am new in java. I am trying to get the stored date in the database and display the same in jdatepicker in frontend. But I failed. Can any one of you suggest how to do the same. Regards Sandeep

Member Avatar for mKorbel
-1
619
Member Avatar for nadiam

I am trying to update data but i get this error. `Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 ' username …

Member Avatar for nadiam
0
267
Member Avatar for Moin_3

[Click Here](http://dev.appcotech.com/pwrdup/static/become-postie.php)[1] UnderConstruction please go to upper link and click on SIGNUP TO DRIVE (Blue cruve Button) there will be a tab open type `london` (Not From Drop Down) only just type `london` and hit enter page will redirect to dev.appcotech.com/pwrdup/static/become-postie-vehicle.php page (This mean post keyword matched 100% with database) …

Member Avatar for pixelsoul
0
383
Member Avatar for malik.epperson

I am working on an app where i would scan a coupon and it would find the matching upc in a sqlite database that i have created and place all of the details from that table into a new table for my personal coupon library. I was getting an error …

Member Avatar for malik.epperson
0
2K
Member Avatar for pavithra madda

i have a doubt that is i have login form like user name and password and after that doing some selections the page show an body of email like this and my question is how to send that body of email to all users in a database using php and …

Member Avatar for Gideon_1
0
258
Member Avatar for Mike Askew

I have the following $subUsername = trim($_POST["user"]); $sql = "SELECT userID, username, password FROM user WHERE username = ':user')"; $q = $conn->prepare($sql); $q->bindParam(':user', $subUsername); $q->execute(); $result = $q->fetch(PDO::FETCHASSOC); print_r($result); echo "</p>"; print_r($subUsername); echo "</p>"; print_r($subPassword); However `$result` is always just an empty array, if I run the SQL on the …

Member Avatar for Mike Askew
0
356
Member Avatar for Manel_2

Hi i made a jquery mobile website, but when i upload it to Phoegap and test, i can't connect to the database. I'm using the Dreamweaver login form in php, and loading from a database. Code to load from database: <?php // *** Validate request to login to this site. …

Member Avatar for peter_budo
0
198
Member Avatar for rohtashrathore

Hi All, I want to save values into database through a jdialog when the save or add event clicked.This is child container of jframe which are having many submenu lateron i will add values to these jtable in main menu(jmenu)

Member Avatar for rohtashrathore
0
74
Member Avatar for jonlloydd

I am trying to code a search box that will search though a column in my database. If the search matches the column then that record will be printed in the table below. I am searching on a column that contains the county of a company record. There are no …

Member Avatar for Gideon_1
0
9K
Member Avatar for Mihailo_1

I have 1 gridview with big table...colums:k,mi,ib and 3 textbox...texbox1 is first column,textbox2 is second and textbox3 is third! I want when i type some number in textbox1(That number is K),i want to textbox2 and textbox3 give me value of mi and ib in same row as k...but i got …

Member Avatar for Mihailo_1
0
258
Member Avatar for bhupen8

Dear all, i am trying to design a purchase form in which i wish to use jtable , when i press any character into the cell it should open a jlist with populated values from database and which let me select only one item from there and get the selected …

Member Avatar for JamesCherrill
0
217
Member Avatar for Firmace

Hello Guys.... Im a first year student in web coding. Im making my exam project right now and i really need you guys help for this simple thing :D. In my school we are using PHP, and ofcause im making my menu with a database and php.. Well my problem …

Member Avatar for diafol
0
1K
Member Avatar for Roldan_1

Hello to all, i have my problem using php in updating mysql database, i have codes here. my problem is, when i click update, all data update altogether, i dont know what is wrong on my codes, your help is much appreciated. <?php if(isset($_POST['req_code'])){ $servername = "localhost"; $username = "root"; …

Member Avatar for Gideon_1
0
328
Member Avatar for Roldan_1

I have my codes here, i cant update my database using this codes please help. if(isset($_GET['submit'])){ $servername = "localhost"; $username = "root"; $password = ""; $dbname = "elev8groupportal"; $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } //$req_code = $_POST['req_code']; …

Member Avatar for lps
0
219
Member Avatar for vann_1

Can someone tell me how to connect combobox in vb6 to database (db2) I need to select from my combobox and the data should come from database.

Member Avatar for Minimalist
0
50
Member Avatar for ramkishor

foreach (DataRow udr in udt.Rows) { defaultval = udr["result"].ToString(); cmb.SelectedText = defaultval; cmb.Select(); cmb.DataSource = ddtable; cmb.DisplayMember = "ListVal"; cmb.ValueMember = "DetailID"; } here problem is that i want to put defaultval at selectedindex 0,here default value is taken from anothe table. i mean i have send a combo selected …

Member Avatar for ramkishor
0
209
Member Avatar for Stefce

Hello i cant understand how i can send database info to user for example i want to send my note which contain (date, text, title and other info) and this info is under ID for ex. (123456) please someone explain me how i can do that or help me thank …

Member Avatar for diafol
0
328
Member Avatar for mark103

Hi all, I need some help with my code, because I have a bit of trouble with using the `cur.execute` in the loops. When I try this: for pos_X, pos_Y, prog_id, prog_width in zip(positions_X, positions_Y, programs_id, program_width): cur.execute('SELECT button_ids, button_width FROM buttons where button_ids=?', [prog_id)) if int(pos_X) == 375: if …

Member Avatar for Gribouillis
0
332
Member Avatar for matoo

I am trying to write program in vb6.0, in which i am using ms access database. i want to search in a table called "customer". the Field is called "Name". in the feild i have saved full name e.g Asmat Ullah Khan, Asmat Khan, Asmat Ullah. now what i want …

Member Avatar for matoo
1
340

The End.