64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for phoenix254

Why my $last_id variable is null always ? i am using this scirpt for ajax..but i tried to excute without my ajax page,it works fine and the output give me `{"data_from_file":"ghjghj","timestamp":1441695735,"msg_id":"1190","reciver_id":"12","sender_id":"10"}` when i want to check my $last_id variable that was null, <?php set_time_limit(0); $con = mysqli_connect('localhost','root','') or die ("Could …

Member Avatar for phoenix254
0
277
Member Avatar for Papa_Don

Hi group, I'm starting a test to see if I can automate some tasks. In this first test, I'm using System.Diagnostics to open a specific version (I actually have two versions on my computer - both are needed). After that's open, I want to open a specific file within that …

Member Avatar for Papa_Don
0
233
Member Avatar for farahinsamsudin

hi, I want to ask about how to declare dropdownlist in vb.net. actually I'm a newbie to this vb.net language. I'm try to insert selected item from dropdownlist into database. but the data is not inserted in the table. and I've try to change the code at dropdownlist area. but …

0
161
Member Avatar for SimonIoa

I have done a script that displays only an image of a the video when the user uploads one. The thing is that i want the video to start when the users clicks on the image but now when the user clicks the video appears with no autoplay. here is …

Member Avatar for SimonIoa
0
255
Member Avatar for Dark_1

I'm building a board game. The game is played on a 4 by 4 grid in pairs, one player at a time. I would really appreciate if you could help me with this. Please help me. I'm new to Visual Basics. It has been only 1 month since I started …

Member Avatar for Reverend Jim
0
214
Member Avatar for Toby14

I have been trying to see what I did wrong in my code, but I counldn't find out. This is my second java program after the "Hello World". Could anyone help me to find out why I did not get the right answer for this. For example, if we enter …

Member Avatar for Toby14
0
143
Member Avatar for SimonIoa
Member Avatar for SimonIoa
0
344
Member Avatar for FarrisFahad

Hello all, I created this image slider and I need some tweeking with the code to make it work perfectly. I can't seem to know what is the problem ... Here is the code: jQuery: $(document).ready(function(e) { images = ['picture-1.jpg', 'picture-2.jpg', 'picture-3.jpg', 'picture-4.jpg']; index = 0; function rotate_image(){ $('#Images').css('background-image', 'url(images/' …

Member Avatar for diafol
0
307
Member Avatar for James_43

Does anyone know if it's possible to intercept the button presses off a presentation remote, just like we are able to listen for keyboard strokes? In this case, the buttons on the remote don't appear to be linked to a keyboard button.

Member Avatar for James_43
0
122
Member Avatar for James_43

Hi there, I have two WPF windows. The first (Window1) has a timer that moves an item down a list, then passes the new current selection to a global variable I defined in App.xaml.cs Window 2 then has another timer that is set to .1 of a second after the …

Member Avatar for James_43
0
268
Member Avatar for sirlink99

Hello All. I am having 2 problems here with my code. I will start off with the video code first. The video code should capture 20 seconds of the screen at 50fps, however, when I generate it, it generates a 1 minute 7 second video, and I am not sure …

Member Avatar for sirlink99
0
1K
Member Avatar for rpv_sen

Hi I am trying to display count of a row using function with get values. Please help me to fix the issue **class** class Users { private $conn; private $db_name= "DATABASE"; public function __construct($db) { $this->conn = $db; } /*Join Two Tables with where condition and order by*/ public function …

Member Avatar for rpv_sen
0
601
Member Avatar for phoenix254

hi i have just started learning nodejs. i wrote this simple code var http = require("http"); var fs=require('fs'); var wbsocket = ('ws'); http.createServer(function(req, res) { res.write('2working'); }).listen(8889); console.log('listing to port 8080'); and run in cmd node filename.js in cmd doesnt give me any error and when i open webbrowser its …

Member Avatar for cereal
0
187
Member Avatar for NuGG

Ok so I have the following code for a table with CSS rules designed to "collapse the table horizontally" on smaller screens... <table> <thead class="thead"> <tr> <th>a</th> <th>b</th> <th>c</th> <th>d</th> <th>e</th> <th>f</th> <th>g</th> </tr> </thead> <tbody> <tr> <td data-label="a">1</td> <td data-label="b">2</td> <td data-label="c">3</td> <td data-label="d">4</td> <td data-label="e">5</td> <td data-label="f">6</td> <td …

Member Avatar for NuGG
0
540
Member Avatar for Erald

No ERRORS query is executed perfectly but no data stored what could be wrong? my database is employee with id, first_name, middle_name, last_name fields id is auto number the rest is short text I'm using ms access. Imports System.Data.OleDb Public Class AccountReg Dim dbProvider As String Dim dbSource As String …

Member Avatar for Erald
0
167
Member Avatar for stupid guy

Hi, I am newbie.I have seen projects where there are menus or links below it which are accessible as per the profile set for the logged in users.If there are A,B,C,D menus in project then some group of user will have only A and B Menu when logged in..while other …

Member Avatar for stupid guy
0
272
Member Avatar for salesman91

hi this is my code and I am trying to write a simple code to generate total and grand total. I have **id,name,quantity,price,total,grand total** 'total' works perfectly,but I am having problem getting GT to work. here is the code.... the error I am getting is "Input string was not in …

Member Avatar for hdojms
0
251
Member Avatar for mjayyy

I have to display the mortgage payment amount and then list the loan balance and interest paid for each payment over the term of the loan but my output isn't changing. import java.text.DecimalFormat; import javax.swing.JOptionPane; public class MortgagePmt { public static void main(String[] args) { int term; //Term in years …

Member Avatar for mjayyy
0
1K
Member Avatar for divinity02

hi I am trying to build this game. what i have been trying to build for a long time now. it is a multiplication java game that need random numbers to generate it goes like this difficulty level-easy: this difficulty level easy has 3 rounds. the student must be tested …

Member Avatar for divinity02
0
423
Member Avatar for newcoder310

I have a class where there are a few `static final String` variables that have few values that repesent color values. The class is basically used to get the color values. Is it better to convert this to enum? public class Color{ public static final String GRAY50 = "#808080"; public …

Member Avatar for newcoder310
0
232
Member Avatar for Brandon Hatch

I have a problem with a project i'm working on, and I was wondering if it was possible to do what i'm thinking. Basically I have a simple mathematical GUI. I want it to take 2 inputs multiply them and output the answer. I am doing this all through the …

Member Avatar for Brandon Hatch
0
235
Member Avatar for Ventech_IT

Hi Everyone, I need some advice...i am building a website for a client and would like to integrate a feature where when he creates a new blog post on the site a link to that post is sent to all his social media platform how would i go about doing …

Member Avatar for diafol
0
266
Member Avatar for blueguy777

How to search a string in table i.e. searchstring = "Gandhi Chowk" actual code: if(isset($_POST['companyId'])){ $companyId = $_POST['companyId']; } if(isset($_POST['RouteName'])){ $routeName = '%'.$_POST['routeName'].'%'; } if(isset($_POST['cityName'])){ $cityName = $_POST['cityName']; } // We Will prepare SQL Query $STM = $dbh->prepare("SELECT routeName FROM route WHERE routeName LIKE :route"); // bind paramenters, Named paramenters …

Member Avatar for blueguy777
0
246
Member Avatar for James_43

Could someone please explain to me the purpose or reasons for using Dispatcher.Invoke? I am getting the error: *The calling thread cannot access this object because a different thread owns it. * and a quick Google search suggested that was due to not using Dispatcher.Invoke (they also said it was …

Member Avatar for JOSheaIV
0
142
Member Avatar for James_43

Hi there, I've created a new C# WPF project. The first MainWindow displays a listbox of images within a folder and displays them inside a larger image object. I am trying to get Window1 to open a fullscreen version of the selected image, that changes depending on what image is …

Member Avatar for JOSheaIV
0
329
Member Avatar for Erald

Im making a simple login form for my project and I faced this annoying database connection problem. The problem is I can't connect to "MSACCESS2013" it directs me to my errorhandler but I'm pretty sure my datasource is correct. I already created a datasource and I'm using its connection string. …

Member Avatar for Erald
0
2K
Member Avatar for zelrick

Hi everyone; I got no idea how to start this and if it is possible; I have a text file (.txt) that have lot of lines and I want it to transfer it in Excel (.xlsx / CSV) But not all will be transfer in excel, only a specific number …

Member Avatar for zelrick
0
2K
Member Avatar for Joe_10

I have a C# table that displays sql database. It has the Id,Name and Location as fields.When the program runs it shows the name place for both name and location. here is the code public static void AddPat(string id,string name, string location) { string insStmt = "INSERT INTO PATIENT (Id,Name,Loation) …

Member Avatar for Joe_10
0
178
Member Avatar for anmol.raghuvanshi1

I am trying to populate dropdown with database what i am actually trying to do i have 3 drop downs country ,state and city and i want if user select any country crossponding states are shown in dropdown and crossponding cities releated to state are shown in city dropdown.I don't …

Member Avatar for anmol.raghuvanshi1
0
376
Member Avatar for James_43

Hi there, trying to do something I thought was pretty basic, but can't get around this error. I have a ListBox, List (AllImages) full of image paths, and two image elements. Image 1 displays the selected item, Image 2 displays selected item + 1 I have: `int inx = Convert.ToString(ImageList.SelectedIndex);` …

Member Avatar for James_43
0
3K
Member Avatar for boomtifier

I have my instructions in the top of my code. But for some reason when I input a decimal and then return my error message like it is supposed to then I input a valid amount it prints everything twice, once for the valid input then once for the valid …

Member Avatar for boomtifier
0
3K
Member Avatar for James_43

Hi all, I'm very new to software development. My main area is HTML/PHP/JavaScript, but have done a bit of C# before. I don't believe the idea I have is suited for a web development option, so am looking for ideas / a starting point for a solution to the below …

Member Avatar for James_43
0
181
Member Avatar for Curious Gorge

I'm working on a simple encryption program (for school). It is not currently "homework" just FYI, I'm just practicing the examples in the book. It uses a Caesar's Cipher method (an alphabetical shift). I have not tested this code very much. If something is wrong with it I probably don't …

Member Avatar for Curious Gorge
0
240
Member Avatar for SimonIoa

Hello i am trying to user Autocomplete jqueryUI but i having trouble showing data from my database. I pretty sure that the problem lies there. Here is the code <?php define('DB_SERVER', 'localhost'); define('DB_USERNAME', 'root'); define('DB_PASSWORD', ''); define('DB_DATABASE', 'project'); $db = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD,DB_DATABASE) or die(mysqli_connect_error()); mysqli_query ($db,"set character_set_results='utf8'"); // if …

Member Avatar for SimonIoa
0
155
Member Avatar for mbowenitj

I need help. I have a search button and 2 textboxes.Textbox1 should diplay the employee id when the search button is clicked (and it works fine).But I need to automatically see the employee name in textbox2, based on the employee id on textbox1.I'd really appreciate your help. Below is my …

Member Avatar for mbowenitj
0
232
Member Avatar for praba_web

Ajax form submission not happening. **view:** <form method="post" name="addwishlists" id="addwishlists" enctype="multipart/form-data" > <input type="hidden" name="deal_id" value="<?php echo $deal_id; ?>" > <input type="hidden" name="cust_id" value="<?php echo $cust_id; ?>"> <input type="submit" value="Add Wishlist" id="addwishlist" class="btn btn-primary" /> </form> **My code is:** <script> //no need to specify the language $(document).ready(function(){ $("#addwishlist").click(function(e){ // passing …

Member Avatar for gabrielcastillo
0
584
Member Avatar for Charite

Hi everyone! So I am really new to C++ and am currently taking this computer science class in school. We use Visual Stuio 2013. Tomorrow I have 3 programs due and I have only finished 1 so far. Everything I read in my textbook and what the teacher says confuses …

Member Avatar for Moschops
0
264
Member Avatar for chibex

I have web based inventory system written in PHP and going to attach barcode reader to the web interface. Any idea how to use webbased interface to extracting information from barcode data? Does anybody have expirience with barcode and webforms ? Thanks.

Member Avatar for saskico
0
2K
Member Avatar for vampz

i have an array of usernames and if a specific name is entered then code should say i know you concatenated with input name...this part is working fine...the problem is in `if(!$knowyou)` this line of code is giving the error of **undefined variable** i'm not getting it i tried to …

Member Avatar for vampz
0
351
Member Avatar for Tanner_1

I need to fix a minor error in my assignment. The prompt is: Assignment #2 will be the construction of a program that reads in an unspecified number of integers from standard input, performs some calculations on the input numbers, and outputs the results of those calculations to standard output. …

Member Avatar for JamesCherrill
0
197
Member Avatar for vampz

<body> <?php if(trim($_GET["submit"])){ if($_GET["uname"]){ echo "your name is".$_GET['uname']; } else { echo"please enter your name"; } } ?> <form> <label for="uname">Name</label> <input type="text" name="uname" /> <input type="submit" name="submit" value="Submit" /> </form> </body> hello, i'm new to php watching some tuts and trying to learn...my proble is when i load this …

Member Avatar for vampz
0
195
Member Avatar for k99rs

Hi, I am trying to import the package com.google.android.gms.gcm.GoogleCloudMessaging into my project. I get an error saying the cannot resolve symbol. Can you please help me. Thanks in advanced.

Member Avatar for k99rs
0
212
Member Avatar for zachattack05

I am trying to programatically create and dispose of file system watchers, but I am running into an issue when trying to dispose of them. When I try to use the code: // dispose of any existing watchers. foreach (FileSystemWatcher fileWatcher in this.Controls) { fileWatcher.Dispose(); } I am receiving a …

Member Avatar for zachattack05
0
420
Member Avatar for divinity02

hi james/anyone/stultuske I am again trying and practicing my java. I am doing this payroll program which include doing methods and array and have no idea where I have gone wrong again i have debug it but inno me, cant find the error and it is there somewhere anyway here …

Member Avatar for divinity02
0
193
Member Avatar for SoftBa

Hi, I have started this project and come to the point where I can't figure out how to finish it. First Want to say that I'm noob for VB6 and programming in general, but I saw some examples and make it work this part of job I need. I will …

Member Avatar for dageci
0
1K
Member Avatar for anmol.raghuvanshi1

I have been struggling from last few days in this problem and also my css knowledge is some what got expired! I want full page bootstrap carousel slider and i want some images over this slider[4 * 4] as shown this my attempt if any one can help ?? **JS …

0
143
Member Avatar for jigglymig

I downloaded visual studio 2013 and added xna to it so that I can run a game I made in vs2010. However I am having an issue in which it is not allowing me to start debugging or start without debugging. The xna I downloaded is from here https://mxa.codeplex.com/releases/view/117230 if …

Member Avatar for jigglymig
0
220
Member Avatar for djrico8

Hello there, iam new to this forum but iam also new with retrieving data from a mysql database to an label in vb.net. Iam using vb 2010 and my mysql is hosted on a server. Here is my code: Imports MySql.Data.MySqlClient Imports System.Data.Sql Imports System.Data.SqlClient Public Class Gamefrm Dim con …

Member Avatar for djrico8
0
305
Member Avatar for babir

Please help me.... I want to upload up to 5 photos and save in database. I want by selecting photo it will upload automatically and then the selected photo will appear in the page. It will occure with one by one photo, up to 5 photos and the photos can …

Member Avatar for Reverend Jim
0
201
Member Avatar for James_43

Hi all, I'm quite a new developer, and I've spent a long time trying to figure out what is causing this error: "SQLSTATE[HY093]: Invalid parameter number: parameter was not defined" As far as I can tell, all my parameters are defined? My code is below: $mySQL_query = "INSERT INTO vd_users …

Member Avatar for James_43
0
171

The End.