2,070 Topics
| |
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' => … | |
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" … | |
How to upload images into database with pdo or only image name and image move into folder | |
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 .. | |
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 … | |
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', … | |
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) … | |
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 … | |
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 … | |
| 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 … |
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 | |
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 . | |
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 | |
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 … | |
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 … | |
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 | |
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. | |
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 … | |
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 … | |
<?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 = … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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); ----- … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.