427 Topics

Member Avatar for
Member Avatar for MarkDbro

I have a question about inserting images into a product page. I have 5 images (saved as longblobs in my products table) and would like to put them in my table like the id, name, quantity and price.... any idea of how i would do this? I have this so …

Member Avatar for MarkDbro
0
1K
Member Avatar for Abdullahi_1

** # i try to insert 10 record under the field year and actual data but only the first text from text1 is entering inside # ** provider = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source =" dataFile = "db7exmpl.accdb" connString = provider & dataFile myConnection.ConnectionString = connString myConnection.Open() Dim str As String 'str = …

Member Avatar for gusano79
0
278
Member Avatar for ribrahim

Dear Sirs, I have two tables (Clients and Country), my below php code is for creating a new client with a dropdown box from country to insert the id_country into clients table. When click add new nothing added to table clinets: any help please: <?php $jsFile = 'newClient'; // Add …

Member Avatar for ribrahim
0
320
Member Avatar for Kenneth_3

Hello, I am writting a code for class and I am having a hard time inserting my variables into my "cout". I know how to do it the long way but I know it has to be easier. Right know this is the portions I am working on: void displaySlpInt …

Member Avatar for Kenneth_3
0
216
Member Avatar for DGULLIVER

Hi, I want to create a SP in mySQL to insert records and return the Primary Key. But when I try and create the SP I get error: mysql said #1064, You have an error in your SQL Syntax, Check the manual that corresponds to your MySSQL server version for …

Member Avatar for pritaeas
0
6K
Member Avatar for Emma Etigu

hi guys I need assistance with SQL insert statement to an access database. I want to insert values to a particular table if the text box value is less than 0. below is the sample code. dim value4 as integer if integer.try parse(textbox4.text) then if value4 <=0 then dim cmd …

Member Avatar for DaveAmour
0
288
Member Avatar for gangachana

I need to read the span value and insert into database in php <span class="GrandTotal">0.00</span>

Member Avatar for mattster
0
2K
Member Avatar for spud91

Hi Guys! i have the following code: <?php session_start(); include_once("config.php"); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>View shopping cart</title> <link href="style/style.css" rel="stylesheet" type="text/css"></head> <body> <br> <div id="books-wrapper"> <!-- #content to center the menu --> <div id="content"> <!-- This is the actual menu --> <ul id="darkmenu"> <li><a …

Member Avatar for spud91
0
334
Member Avatar for chaitu11

$descrr = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only …

Member Avatar for chaitu11
0
1K
Member Avatar for chaitu11

$descrr = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only …

Member Avatar for pritaeas
0
777
Member Avatar for spud91

Hi Guys! I have the following code: <?php session_start(); include_once("config.php"); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>View shopping cart</title> <link href="style/style.css" rel="stylesheet" type="text/css"></head> <body> <br> <div id="books-wrapper"> <!-- #content to center the menu --> <div id="content"> <!-- This is the actual menu --> <ul id="darkmenu"> <li><a …

Member Avatar for spud91
0
9K
Member Avatar for muraligowda
Member Avatar for JorgeM
0
339
Member Avatar for Niloofar24

Hello. When we want to insert a vlue into a table in sqlite, we use this line, right? cursor.execute('INSERT INTO colors Values ("red", "blue")') As we can see above, we want to insert 2 words and we type them as when we are typing whole the codes. But i want …

Member Avatar for vegaseat
0
5K
Member Avatar for jaspertan
Member Avatar for Mike_21
0
15K
Member Avatar for Stefce

I have a little problem over here this code doesn't work well what is the problem if anyone know ? $getUsername = getUserData('Username'); $sql = "INSERT INTO `kladilnica` VALUES ('', '".$getUsername."', '".$betAmouth."', '".$gain."', '".$date."', '".$match1."', '".$match2."', '".$match3."', '".$match4."', '".$match5."', '".$match6."', '".$match7."', '".$match8."', '".$match9."', '".$match10."', '".$match11."', '".$match12."', '".$match13."', '".$match14."', '".$match15."', '".$match16."', …

Member Avatar for broj1
0
206
Member Avatar for nadiam

hello, im wondering how to throw an error message to a user if the input value is a duplicate in `INSERT INTO...` I have: <?php require "connection.php"; $name = $_POST["names"]; $event_id = $_POST["events1"]; $euser_id = $_POST["sessions"]; $single_chair_id = $_POST["schair"]; $assign = $dbh->prepare("INSERT INTO cinema(cuser_id,event_id,guest_name,chair_id) VALUES(?,?,?,?)"); $assign->bindParam(1, $euser_id, PDO::PARAM_INT); $assign->bindParam(2, $event_id, …

Member Avatar for pixelsoul
0
216
Member Avatar for sexycodette

hello all; scratching my head because I have no clue why this query doesn't work. php5, mysql 5.1 [code]INSERT INTO cats (title,type,cat_parent,cat_descr) VALUES ('Category Name', '0','0','Category Description')[/code] BASIC insert query. and the error I get ad infinitum is this: [CODE]Error: You have an error in your SQL syntax; check the …

Member Avatar for Adiel
0
3K
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 cosc_major1

Okay, so here's the problem: I have an HP dv6000 series/ model dv6910us laptop. I hadn't used the notbook in about 2 weeks because I was moving to college so it was in my car for a day. When I decided to boot it up everything worked fine...except the internet. …

Member Avatar for RobertHDD
-1
251
Member Avatar for Start4me

I have this code: If e.Delta <> 0 Then If e.Delta <= 0 Then If PictureBox1.Width < 500 Then Exit Sub 'minimum 500? Else If PictureBox1.Width > 2000 Then Exit Sub 'maximum 2000? End If PictureBox1.Size = New System.Drawing.Size(PictureBox1.Width + e.Delta / 1, PictureBox1.Height + e.Delta / 1) PictureBox1.Location = …

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

unable to insert data into table user_detail using jquery i've three files index.php, upload.php, function.php // index.php <?php require_once('function.php'); session_start(); if (!is_user()) { redirect('signin.php'); } $ip = $_SERVER['REMOTE_ADDR']; ?> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Home</title> <link rel="stylesheet" type="text/css" href="css/pure-min.css"> <link rel="stylesheet" type="text/css" href="css/style.css"> <link href="css/uploadfile.css" rel="stylesheet"> <script src="js/jquery.min.js"></script> …

Member Avatar for blueguy777
0
316
Member Avatar for jamojo

Hi Everyone, I have a javascript function below: function submitUserInfo() { if (myForm.validator.validate()) { var data = $('get-user-info').serialize(true); var params = data; var url = 'http://www.mysite/engine/'; var request = new Ajax.Request(url, { method: 'post', parameters: params, onSuccess: function (transport) { //alert(transport.responseText); $('paywall-img').innerHTML = ''; $('paywall-img').insert(transport.responseText); $('paywall-img').insert('<button class="button close-pw"><span>Cancel</span></button>'); }.bind(this), onFailure: …

Member Avatar for AleMonteiro
0
254
Member Avatar for mikeybware

I am trying to insert some values into a database and I have the following SQL: insertString = "INSERT INTO SocialHistory (ExamID, Occupation, SafetyYN, ComputerYN, ComputerHrs) Values('" & CurrentExamID.ToString & "', (SELECT Occupation, SafetyYN, ComputerYN, ComputerHrs FROM SocialHistory WHERE ExamID = '" & LastExamID & "'))" When I execute the …

Member Avatar for mikeybware
0
227
Member Avatar for berserk

hey i have this code that always evaluates to true but it should only in the case of there being a value in the database i have selected, maybe im doing this wrong or maybe its something else but i cant seem to figure out the problem :( any assistence …

Member Avatar for berserk
0
358
Member Avatar for accra

Diafol, anybody pls help. i have this javascript code <script> FB.init({ appId : '00000000000000', frictionlessRequests: true, }); function sendRequestToRecipients() { var user_ids = document.getElementsByName("user_ids")[0].value; FB.ui({method: 'apprequests', message: 'Great App', to: user_ids, }, requestCallback); } function sendRequestViaMultiFriendSelector() { FB.ui({method: 'apprequests', message: 'My Great Request' }, requestCallback); } function requestCallback(response) { console.log(response); …

Member Avatar for accra
0
2K
Member Avatar for guideseeq

What is the difference in: Set<Object> linksSet = new LinkedHashSet<Object>(); LinkedHashSet<Object> linksSet = new LinkedHashSet<Object>(); Actually, I want to create a Set, that would hold the objects in the same order, I insert into it. Many thanks for the help, in advance.

Member Avatar for guideseeq
1
239
Member Avatar for Ehsan_3

I use the following code to generate a uuid concat with CMRC it works fine uuid is generated in lower case i.e. CMRC+someString in lower case I could not find anything to resolve this i had to post this on here for help how can I convert this generated uuid …

Member Avatar for Ehsan_3
0
1K
Member Avatar for queryEma

Good Afternoon, everyone. I am new to this forum so I honestly don't know what to expect. But I wanted to see if I could get some help here with a project that I am working on (No! it is NOT homework). Without giving all the specifies, which would take …

Member Avatar for pixelsoul
0
295
Member Avatar for nadiam

hey guys. js: $(".addGuest-btn").live("click", function(){ /*in table2*/ var addG = $(this).parent(); var insert = '<tr><td class="insertG"><input type="text" class="add-name" placeholder="Doubleclick on a name."></td></tr>'; $(addG).append(insert);/*append into table2*/ }); }); $(".guests td").dblclick(function(){ /*table1 td*/ alert("double clicked!"); var name = $(this).clone(); $(".add-name").each(function(){ if($(this).val() == "") { $(this).append(name); } }); addGuest function works and appends …

Member Avatar for nadiam
0
380
Member Avatar for vinctham91

I'm creating an Web-Based Inventory System, currently stucked at this module where I need to scan QR code. The process flow that I want to achieve should be like this: 1. Scan QR code containing the inventory ID wirelessly using an Android app 2. Show the information retrieved from the …

Member Avatar for diafol
0
197

The End.