-
Began Watching how to update one column with a multiple values.
hi... im trying to update one of the columns of my table with a multiple data without deleting the previous data.. by the way im using vb.net and mysql... does … -
Replied To a Post in how to update one column with a multiple values.
You can just concatenate the current column value with the new input. `UPDATE table_name SET col1 = CONCAT(col1, 'new value') WHERE ID = some_id;` -
Began Watching All records aren't show in this select query
I used below select query to select information from two tables. But it show one record. How to change this code to view all records ? select loan.loan_id, loan.customer_name, loan.total_amount, … -
Replied To a Post in All records aren't show in this select query
How many settlement records are there for 'Kapoor'? -
Began Watching SQL select between 10 to 20 last results by ID
SELECT blabla FROM a INNER JOIN b ON a.a = b.b Is what I have. However I'd like to sort the results DESC by ID. I'd like to select last … -
Replied To a Post in SQL select between 10 to 20 last results by ID
SELECT blabla FROM a INNER JOIN b ON a.a = b.b ORDER BY a.id DESC LIMIT 10; If you're creating the SQL statement in code just replace the 10 with … -
Began Watching Detect Viewport Width Live in Javascript Pass Result to Ajax Call PHP Page
I have been wrestling with this subject for six months and can find no complete answer anywhere on the web or in any book seen. I have become very familiar … -
Replied To a Post in Detect Viewport Width Live in Javascript Pass Result to Ajax Call PHP Page
This sounds like you've made it overly complicated. Why are you trying to serve differing PHP pages when, if I'm reading this right, all you really need to do is … -
Began Watching Jqeury/Javascript Submit Form sometimes deletes when not supposed to
Hey everyone, I have a question. I have a web app where you have a table that will either update, delete, or add a user. The update works great but … -
Replied To a Post in Jqeury/Javascript Submit Form sometimes deletes when not supposed to
I would guess it is because you're not actually stopping the button submission by return false; or event.stopPropagation() so your form is still submitting sometimes. All the cancel button does … -
Began Watching Dynamically Adding DIV template from Code
I have the following code is asp.net <%@ Page Title="" Language="C#" MasterPageFile="~/Site02.Master" AutoEventWireup="true" CodeBehind="Tasks.aspx.cs" Inherits="DMS.Tasks" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <div … -
Replied To a Post in Dynamically Adding DIV template from Code
One method is to use a LIteral control on the page and build up your html as string in the code behind and then pass it to the literal. `<asp:Literal … -
Began Watching Wrong Redirection
Dear Experts, I have following codes while($res = mysqli_fetch_array($result)) { echo "<tr onMouseOver=this.className='highlight' onMouseOut=this.className='normal'>"; echo "<td align='center' width='10%' >".$res['code']."</td>"; echo "<td align='left' width='50%' >".$res['products']."</td>"; echo "<td align='center' width='20%'>".$res['weight']."</td>"; echo "<td … -
Replied To a Post in Wrong Redirection
You have an href set for the <a> tag so after the onclick is processed the anchor does what it is meanrt to do. To prevent it firing change your … -
Began Watching PayPal IPN Always return INVALID
I am having problems installing PayPal IPN. It returns INVALID every time I process it. Is there something wrong with my code Code: <?php $db_host = 'localhost'; $db_user = ''; … -
Replied To a Post in PayPal IPN Always return INVALID
The issue must be in the values string you set up. If you're getting 'invalid' back you can be sure you're hitting the right URL and your cURL is working … -
Began Watching Cryptography
Hi All, am trying to use build a secure login page. I have written necessary functions and the registrations works fine (with secure hash + salt passwords created) but the … -
Replied To a Post in Cryptography
It looks to me like your doing some extra steps when getting the salt and password out of the database. When creating the password you create a salt, add it … -
Began Watching executing function on only clicked element in $.each
Im using the youtube api to search for videos. The information gets displayed perfectly on the page similiar to the youtube page layout. I have a function that when each … -
Replied To a Post in executing function on only clicked element in $.each
If you're getting the results back via JSON and then adding each to the page why can't you add a jQuery .click function to each one at the same time? … -
Began Watching Register Page and Activation Page
I have a register page that sends activation link to the registered user however when clicking the lick it takes me back to a register page, please assist ASAP. Bellow … -
Replied To a Post in Register Page and Activation Page
If the link is correct in your email then something is probably going wrong on your activation page and it is redirecting to the register page again. You'd need to … -
Began Watching Only first SQL row is getting understood
Connection is successful. No typo's were made (look below). If read it from top to bottom, some of the tests that I show you will seem stupid. Until you look … -
Replied To a Post in Only first SQL row is getting understood
Firstly, this line only showing one row: `$result = mysqli_fetch_row($result);` `var_dump($result);` You've only asked it to fetch one row so the dump only has one row. mysqli_fetch_row does just what … -
Began Watching Jquery Functions submitting at wrong times
My problem currently is that I am trying to call a function with jquery at a specific event but it is running at the wrong event. The function I want … -
Replied To a Post in Jquery Functions submitting at wrong times
What if you register the #Resolved click inside the success return of your AJAX call? $(document).on('click', '.viewTD', function(){ window.tid = $(this).closest('tr').find('.tidTD input').val(); $.ajax({ type: 'post', url: 'modalInfo.php', data: 'tid=' +tid, … -
Began Watching Need help structuring in content of an element
This is element that I'm trying to achieve: http://i.imgur.com/9XmGXkt.png This is "template" of what I have to work with: https://jsfiddle.net/hcgpyutj/ I tried floating, staticing, absoluting, relativizing, tables, transform. I changed … -
Replied To a Post in Need help structuring in content of an element
Something like this? <div id="generalbox"> <div id="box3"> <div id="item1" class="item" >This is example forum</div> <div id="item2" class="item" >This is example forum's description</div> </div> <div id="righthand"> <div class="rightHandBlock"></div> <div class="rightHandBlock"></div> <div … -
Began Watching Pikaday date format
Hi, Trying to replace jquery-modules, because i need only datepicker, not any additional stuff. Found a light Pikaday datepicker, working just fine as common, but after hours of searching and … -
Replied To a Post in Pikaday date format
Adding moment.js isn't really a 'massive fix'. Neither is running jQuery UI. You can choose to download just what you need so you can have a jQuery UI file that … -
Replied To a Post in why the code doesnt working
> hericles , there still a problem I'm going to need more information than that. If you run the code what error do you get? -
Began Watching why the code doesnt working
hello i started visual basic in access and wnted to use INSERT INTO , thats the code: Dim arr As String arr = "INSERT INTO customer product(user) VALUES('" & user.Text … -
Replied To a Post in why the code doesnt working
Is you table name actually customer product - 2 words? If yes, then you'll need to quote it `arr = "INSERT INTO 'customer product'(user) VALUES('" & user.Text & "')"` The … -
Began Watching dashboard
Hello everyone please i need your opinion about a creation of a dashboard that can be seen on a webapplication i´ve trying with the controls of DEVEXPRESS but without success, … -
Replied To a Post in dashboard
You can try SyncFusion's tools, most are free, as far as I know, for individual devs and small teams. Or use Google Charts and code it yourself - more work … -
Began Watching What's wrong with my query (postgres)?
I have the query below: $insert2query="INSERT INTO output_search(ref_code, title, author, channel_id) VALUES (select refcode,title, authors, $idquery as cid from chemoJ where title LIKE '%$search%' and refcode NOT IN (select exc_refid_fk … -
Replied To a Post in What's wrong with my query (postgres)?
Try ti without the VALUES keyword, just the select statement. -
Began Watching Why this SQL doesn't work ?
I want to make dynamic search button i have this code but doesnt work it gives me this error `Could not connect to database. Fatal error: Wrong SQL: SELECT * … -
Replied To a Post in Why this SQL doesn't work ?
You need to put quotes around the value for the Location column. `SELECT * FROM kladilnica WHERE Location = 'Macedonia' AND Uplata = 50 AND Liked = 50` So you … -
Began Watching javascript - when reading file, browser opens well but it is blank browser
My object: Take latitude, longitude columns from textfile(.txt) and mark them on googlemap api v3. For the first step, I made a code for reading textfile by javascript and html. … -
Replied To a Post in javascript - when reading file, browser opens well but it is blank browser
Chrome won't work bcause you're using an ActiveXObject, that only works in IE (unless you've added a plug in). Windows is failing because your syntax is incorrect. Your window.onload should … -
Began Watching how do i get fadin screen when I click on login button to thank the user
<html> <head> <style> .button { font-size: 1em; padding: 10px; color: #fff; border: 2px solid #06D85F; border-radius: 20px/50px; text-decoration: none; cursor: pointer; transition: all 0.3s ease-out; } .button:hover { background: #06D85F; … -
Replied To a Post in how do i get fadin screen when I click on login button to thank the user
Add jQuery to your site if you haven't already and call fadeOut() on the div to make it slowly disappear. `$('.overlay').fadeOut(500);` -
Began Watching Trump
I think I finally understand why Trump is doing so well (he recently pulled even with Hillary Clinton). It's only after years of shows like American Idol and America's Got … -
Replied To a Post in Trump
You may be onto something. I read these polls that say he rates low with women in the Republican Party and a majority of men don't like him either yet … -
Began Watching About MathsJax
first off, i've never been to web development. I'm developing my personal website where, for some purpose , i need to display some math figures. And somebody suggested me to … -
Replied To a Post in About MathsJax
From their documentation page: > The default math delimiters are $$...$$ and \[...\] for displayed mathematics, and \(...\) for in-line mathematics. FYI: The text editor here stripped out the \'s … -
Replied To a Post in php - url is dealt with just a comment for //
You have this line: `<script src="$aa.$bb/maps/api/js?v=3&sensor=false"` Can I assume the $aa and $bb is coming from PHP? Because it isn't getting rendered correctly if it is. If you are creating … -
Began Watching How to insert data to oracle database from vb.net
I just use this code to input data to oracle database from vb.net. Try Dim mstream As New System.IO.MemoryStream() PictureBox1.Image.Save(mstream, System.Drawing.Imaging.ImageFormat.Jpeg) Dim arrImage() As Byte = mstream.GetBuffer() mstream.Close() query = … -
Replied To a Post in How to insert data to oracle database from vb.net
The SQL statement looks fine to me. Maybe the issue is with the byte variable. What is the column type of PIC in the database?
The End.