2,070 Topics

Member Avatar for
Member Avatar for gogs85

How to insert image name in database and image store in folder image with move_uploaded_file usign PDO: this is my query: $stmt = $db->prepare('INSERT INTO blog_posts_seo (postTitle,postSlug,image,postDesc,postCont,postDate) VALUES (:postTitle, :postSlug, $filename, :postDesc, :postCont, :postDate)') ; $stmt->execute(array( ':postTitle' => $postTitle, ':postSlug' => $postSlug, '$filename' => $image, ':postDesc' => $postDesc, ':postCont' => …

Member Avatar for pritaeas
0
230
Member Avatar for rpv_sen

Hi I am trying to upload excel file data thorugh .net uploading code. But i am getting an error message. can any one please help me to resolve this. **Upload.aspx** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_residentupload.aspx.cs" Inherits="add_residentupload" %> <table class="table-list"> <tr> <td width="30%">Upload File</td> <td><asp:FileUpload ID="fupUpload" runat="server" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" …

Member Avatar for geniusvishal
0
1K
Member Avatar for gogs85
Member Avatar for diafol
0
2K
Member Avatar for Yogesh Sharma

hey frnds, Firstly I pick the records from the databse into the DataGridView, Then I want that If we made changes to the records in the GridView & Click on Update Button, Changes are Reflected into the Datbase .Plz do reply back the ..

Member Avatar for Venkatesh_6
0
6K
Member Avatar for My question

I am using **name** field to get the option in dropdown from database datas in my database id name 1 Resham 2 Rukshana 3 Resham 4 sindya how to write a php code for displaying the name only once in dropdown and if the option *Resham* is choosen then my …

Member Avatar for My question
0
210
Member Avatar for nadiam

Hey guys, so im wondering if theres a way to insert 2 input values into one column in PDO? coz in mysql_* i just did something like this and it worked: INSERT INTO tablename VALUES ('input1 input 2', 'input3'); pdo i tried : $event = $dbh->prepare("INSERT INTO event(event_name,start_event,end_event,event_venue) VALUES('$name', CONCAT_WS('$dstart', …

Member Avatar for hericles
0
275
Member Avatar for AdriftUniform

Hi, I am trying to display two or more images from a database and I cannot get them to display simultaneously. I have a database table called 'tbl_images' which has two fields 'id' and 'image' here is the code for the database creation: [code=mysql] CREATE TABLE tbl_images ( id tinyint(3) …

Member Avatar for garyrichard
0
15K
Member Avatar for antonyalston

I am Creating a app and I though of creating a loding screen with which will check the availablity of database which will use in the application if the connection to database appers to kk then then loading form will open the login form or orelse i want that form …

Member Avatar for ddanbe
0
238
Member Avatar for My question

I am chosing an option from database using the field named as "name". since i have the name "supriya" 3 times in my database, it displays 3 times in my dropdown. How do i restrict it by displaying the name only one time and once it is choosen, then it …

Member Avatar for pritaeas
0
161
Member Avatar for [NOPE]FOREVER

I have a php/mysql project. When the admin deletes a customer from the database on the form I need the confirm box to display the customer row that they want to delete as well as the message. Here is current confirm box with a message <script type = text/javascript> function …

Member Avatar for hericles
7
504
Member Avatar for My question

How do i write php code for getting field from mysql as dropdown in php, and, also to display the related records of selected option in dropdown from database

Member Avatar for fireburner29
0
401
Member Avatar for My question

I am trying to retrive value from database in dropdown and to display the datas related to the selected option. I am new to php, Please Help me to write php code for the above .

Member Avatar for My question
0
291
Member Avatar for scomrade

Hi, just to find out if any of you gurus have been coding in C in a UNIX environment with a Raima database? Will want to lean on someone for guidance

0
151
Member Avatar for jj.dcruz

how do i insert the textboxes with different data inside of them in one database table i have this code dunno what to do next Private Sub btnadd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnadd.Click Dim sql As String Dim totcount As Integer = 0 Dim inc As …

Member Avatar for jj.dcruz
0
191
Member Avatar for Satyam_1

Hi, I have an vb.net application linked to Oledb database. here is my code in Button_Click event to prevent duplicate entry with same ID, ID is not the primary key in database. Although it shows "Record Already" Exists", but I am not able to save data with new ID, to …

Member Avatar for Satyam_1
0
453
Member Avatar for jj.dcruz

hi there im a total newb at this programming language is there a way 3 databases can be in one datagridview? I can only insert 1 database in a datagrid

Member Avatar for deceptikon
0
228
Member Avatar for saraazee

Can any one tell me the php code to retrieve data from database by month and year. it should be displayed all details of the table according to the selected month and date. i need php code and the database.

Member Avatar for diafol
0
251
Member Avatar for asif_14443

Dear All, I am using ASP.Net with VB.Net Visual Studion 2010 I have a textbox if I write i.e. 654321-1 and immediately it verify from database table that this is already exists in database or not. Suppose on Gmail if we create new email address it immediately verifies from database …

Member Avatar for hericles
0
241
Member Avatar for BogdanCov

Hello guys. I developed a simple game in C# on Windows (WFA). Now I want to crate a database with accounts and all stuff. I know to crate this with a SQL Local Database, but I think there should be a host where to put that DB to be accessed …

Member Avatar for JorgeM
0
205
Member Avatar for filipgothic

<?php //Provjerava da li se korisnik vec ulogovao. Ako nije, ispisace gresku. session_start(); if (!isset($_SESSION['korisnik'])) { die('Za pristup ovoj stranici morate se prvo ulogovati.'); } if ($_SESSION['korisnik'] != 'administrator') { die('Za pristup ovoj stranici morate se prvo ulogovati kao administrator.'); } //Podaci o bazi podataka $hostname = ""; $db_username = …

Member Avatar for filipgothic
0
417
Member Avatar for jhennmacute

We wanted to save the header of a datagridview in the database. The value inputted in the textbox will be transfer in the header of a datagridview and we do not know how can we do that! Can anyone knows how to save a header of an datagridview???????????thank you

0
90
Member Avatar for nan01

Hi. I am creating a database where a user can store up to 50 names of their family members. I have two table structures in mind and curious which one is the more efficient structure for using with php. ==================================================================================================== TABLE A: userid-firstfamilymemberid-firstfamilymembername-secondfamilymemberid-secondfamilymembername Note:(the columns would repeated until the fiftiethfamilymemberid …

Member Avatar for nan01
1
270
Member Avatar for renzlo

This is the scenario: I have one table (main_tbl) with columns RECID(primary key),JOBNAME(text),STATUS(text). Now, I created an application that will query to the database and get one jobname and update the status. How can I make sure that multiple users wont get the same jobname when they executed the query …

Member Avatar for Begginnerdev
0
396
Member Avatar for Shaikh_1

I m trying insert multiple rows in same database (each row had many fields) on submit but unable to do so. I m successfully able to insert single row but when it comes for multiple rows I got stuck. This is the jsp page where you take an input to …

Member Avatar for Shaikh_1
0
5K
Member Avatar for Start4me

What I have is a listbox with items imported from the database. From the Data Sources (Shift+Alt+D) I've dragged a table in the form of Details, instead of DataGridView. What I'm trying to figure out, is how to make the information to be displayed in the Details when an item …

Member Avatar for Start4me
0
278
Member Avatar for Dzenad

Hello, I have stored values in database via html and php form. Now I am creating form which will enable users to edit inputs. I am having trouble with input types radio and checkboxes. I have stored checkboxes values in database via implode function. ----- $products_rec=$_POST['products']; $products=implode(", ", $products_rec); ----- …

Member Avatar for Dzenad
0
402
Member Avatar for kool005

Hello, I am new to C# and i am stuck when i try to fetch the data from SQL Server to Visual studio. I am writing the code as a n-tier application - Data Access, Business logic and the front end. I am fetching data in a disconnected env. I …

Member Avatar for johnrosswrock
0
230
Member Avatar for Mr.M

Hi Dw I've create an ASP.NET web app using VB.NET and now I want to connect an access database to it so that it can save data, and also read data from it, I've added the database as resources but I'm not sure if this is appropriate and I haven't …

Member Avatar for Mr.M
0
330
Member Avatar for Christian Joy

i am making an online quiz that has a countdown timer plugin: https://code.google.com/p/jquery-countdown/source/browse/trunk/js/jquery.countdown.js?r=3 everything is fine but if the user log out or close the browser then the timer will reset back to the default given time. i would like to know how to get the value of the timer …

0
113
Member Avatar for henryz_box

I found this along my way of trying to learn how to use databases 1."SELECT usname, password FROM userinfo " & 2." WHERE usname = '" & textbox1.Text & "'" & 3." AND [password] = '" & textbox2.Text & "'" I would like to know how I would execute code …

Member Avatar for henryz_box
0
14K

The End.