64,152 Solved Topics
Remove Filter ![]() | |
The programming page to view all the headlines and made the title link when pressed refer you to the details page, but unfortunately when the conversion page details are not shown to any details on the page <a style="color: red;" href="newspage.php?id=<?php echo $rows[0]?>"><?php echo $rows[1]?></a> the details page code ..... … | |
<html> <body> <input type="text" name="cname" value="" onkeyup="shownames()"> </body> </html> Finally the thing is when ever user was input the text it should display the name from database dynamically. The user Should have capable to select the name generated from database. I'm Searching for jquery plugins if any one Knows Please … | |
Hi All, I'm taking a different approach to importing the csv to access and trying to import the csv to the dataset. I've found the following code but it's giving me an error Dim fileToOpen As String Dim da As New OleDbDataAdapter() Dim ds As New DataSet() fileToOpen = ImportFiles.SelectedItem … | |
Hello, I have a datagridview, where I can edit only 1 field, howerver, I cannot type "4,556" because I restricted it to only number, and if I type 0345, or "0,345" it will just save it as 345. `<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("AMOUNT") %>' BackColor = "#FF960C" MaxLength="4" onChange="intOnly(this);" onKeyUp="intOnly(this);" … | |
con1.Open() Dim com2 As New OleDb.OleDbCommand("insert into Department(DNo,DName,Manager,AddressL1,AddressL2,City,Telephone,E-mail)values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "')", con1) com2.ExecuteNonQuery() MessageBox.Show("Succsessfuly Inserted", "Insert", MessageBoxButtons.OK) con1.Close() Me.Hide() Form2.Show() it … | |
Hi, I'm having issues with driver class is giving me issues. The code needs 2 for loops requirement. The driver class will create an array of 3 CircusClown objects. Use a loop to get user input for your 3 objects. Use a loop to print the toString() method of your … | |
I came across the foll code: #include<stdio.h> main() { int i=4,j=7; j=j||(printf("you can")&&(i=5)); printf("%d %d",i,j); } output: 4 1 Athough I am specifying the braces for the && operator so that it gets executed first..Then also the value of i remains 4 only..Why doesnot it gets changed to 5??Also the … | |
Hi all i am working on asp.net web based application in this application i have to configure one setting from `web.config` file which is path of folder and i want to create that folser on the working directory of project so any body Please tell me can i use `Environment.CurrentDirectory` … | |
Hello. Here is the problem: JS $(".spinBox").css("display","block"); //.... $(".spinBox").css("display","none"); CSS: .spinBox {display:none; z-index:6; position:absolute; top:-45px; left:0; bottom:0; right:0; background:rgba(0,0,0,0.5); } .spinBox img {position:absolute; display:block; width:50px; height:50px; margin:auto; top:0; left:0; bottom:0; right:0;} HTML: <div class="spinBox"> <img id="spinImg" src="images/bg/spinner.png" alt="spinner" /> </div> All that works fine in webview in Gingerbread and Jelly … | |
which is better for a noob programmer ? netbeans or jcreator? or any other ? please help me thanks in advance | |
![]() | Hi I'm not really sure why this isnt working. Could someone ammend the code so that it is working? cheers <html> <head> <meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org"> <title>Limerick Generator</title> <script type="text/javascript"> function display(f) {//code to get data from List boxes var DirectionSelect = … |
I have a form which is like a question paper. It has multiple text fields for entering a question and related information like marks allotted for that question, complexity level, tags in that question etc. I enter all this info into my db. **Tags are the keywords in that question**. … | |
Hello, Would someone be willing to take a look at this segment of code? I am trying to figure out how this segment of code operates. I can see how the program can evaluate a simple prefix statement like + 7 6. I cannot see how the program can solve … | |
I can't figure out why my nivo slider is not showing, the link to the jsbin is here http://jsbin.com/opucok/4/edit. I followed the directions in the nivo website exactly, and the slider works when it isn't with the rest of my html and css code. | |
Hi Folks, I am writing an app that involves Client -> Server -> Client communication (one way traffic). I have my data transmitted from client A to the server, simple to test, just print to console, however, I'm trying to test to see if the data has been sent on … | |
Hi hope someone can help me with the folowing How can i echo only the first letter of given words Example if i have: Jozef Margaretha Fransiscus i Want: J.M.F. Thanks | |
Hallo, I am trynig to built a poll system. i want to place it in a div of a php file. So i created a form that takes all the data that needs from 2 txt files (questions, options etc). When the user votes the vote.php executes. vote.php <?php $poll_file … | |
Hi Guys, wondering if someone could help me please, this is probably easy for most, but im a beginner :) i want to make an array from my dataset dataset is from (tbl_Employees) i want the array to hold 3 columns/items = item 1 (Username), item 2 (password) item 3 … | |
This is my first time making a project about which I am a beginner I have created a process by which I think I can validate user if user type is guest who is a half registered user. This is my code for front end here the user will submit … | |
Hi, Have been using the same database for years without any trouble. Suddenly we are getting the Data Type Mismatch in Criteria Expression when we attempt to run a VB function. I am not familiar with VB so much, but have found where the error is happening: [CODE] Private Sub … | |
I am using codeigniter 2.1.2 and Bootstrap. I am opening a form in a modal window. The form is inside a div with id status. The form has a few input fields and an upload file field. I am trying to submit the form with ajaxForm. In my controller I … | |
LEt's say there a certain phone number format. If someone types the correct format,it shows ok,if not it shows an error. I have done this but it only checks after user moves to the next textfield (onblur action). is there something like 'onButtonPress' or something | |
I am supposed to create a binary tree using strings typed in by the user, to build a balanced tree using recursion. When I type in letters: A, B, C, D, E, F and the output is set up for preorder output, what I am getting is:A B D F … | |
Hi I want to get pixel value from picture. Anyone know how to do this? Regard | |
Declare an integer variable size of 10 elements, input the elements. find the sum of the elements. display the elements. display sum using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int size, sum = 0; Console.WriteLine("input 10 elements"); size=Convert.ToInt32(Console.ReadLine()); … | |
CAn anyone help me how to create a file browser using excel macro? Thank you guyss. | |
Hello, I am trying to create a menu that slides up when a button is clicked. I looked at a lot of tutorials of animate and slide but nothing works for me. I hope someone can help. What I need is a button that says: Click for Menu and when … | |
Some people will say that modern languages are the reason behind the production of generations of "inferior" programmers of late. Because they provide a lot of things in hand, people tend not to delve into the basics and learn the insides... Do you agree, or disagree? Please share your views … | |
616.00 -first value -1 empty -2 empty 616.00- last value 791.00 791.00 -1 empty -2 empty 994.00 1,008.00 - - - -- - 910.00 882.00 -1 empty 826.00 756.00 can anyone show me a code to interpolate this replacing the blank space that is not more than 4 to tha … | |
Hi everyone! I haven't seen this question here, so I'll give it a try. I'm from a country where some words have accents, like *MarÃa*. I have all this words in a database and I would like to use the Select function from a DataTable but ignoring accents in the … | |
It's a bit confusing to explain so I'll give an example instead and try my best. So let's say I have multiple blocks of DIV element with same class name (can't change class name for each DIV), but within each of those DIV, the content is different (specifically the a … | |
Hey Everyone, I want to instantiate an ArrayList in java. I realize the method to doing this is: ArrayList<String> determiners = new ArrayList <String>(); determiners.add("A"); Where "A" is added to the arraylist once created. However, the problem I'm having is that the .add method doesn't work unless in a main … | |
I'm stuck, can someone teach me on how to populate my listview using database. | |
**I have some errors in my code and can't figure out how to get rid of them any help is wonderful.** The full code is: import java.util.Scanner; public class FindGeneSequence2 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Please enter a genome for segmentaion into genes: … | |
import java.util.Scanner; import java.util.Random; public class HangmanGame2 { public static void main(String[] args) { Scanner input = new Scanner(System.in); final String[] WordList = { "porcupine", "flamingo", "sasquatch", "poseidon", "minnie mouse", "mickey mouse", "galileo" }; String ChosenWord = WordList[(int)Math.random()*WordList.length]; StringBuffer display = new StringBuffer(ChosenWord.length()); for (int i = 0; i < … | |
Problem: I have a version of 2003 of MS EXCEL for example I have Line A and Line B in the same work sheet the DATA of Line A has a b c d e and f the data of Line B has b and d only if I use … | |
All the characters in breaking down a string confuse me. I'm trying to understand how to find whatever number is in a string, and increment it up/down by one (unless it's a known last or first number?) $('#arrow_prev').click(function(){ var whichgallery = $('#div_id').attr('class'); // this could be .class_1 through .class_12 var … | |
i searched about it but not get the proper result how can i install CEON URI module in my zen cart can any one help me in that thanx in advance ![]() | |
I have this code Dim con = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Danial\documents\visual studio 2010\Projects\ESI_PF_Payroll_V1\ESI_PF_Payroll_V1\Pay.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True") con.Open() cmd.CommandText = "SELECT Firstname,Lastname FROM Employee where Firstname = @Firstname and Lastname = @Lastname" cmd.Parameters.Add(New SqlParameter("@Firstname", TextBox1.Text)) .Value = TextBox1.Text cmd.Parameters.Add(New SqlParameter("@Lastname", Lname_txt.Text)) .Value = Lname_txt.Text dr = cmd.ExecuteReader While dr.Read Label4.Text = dr(0) … | |
Hi all, I'm trying to change the file extensions of some excel files to csv and add the file names to a list box. The box is coming up blank however. My code is as follows: Private Sub Project_Load(sender As Object, e As EventArgs) Handles Me.Load Dim importsFileList As New … | |
Dim siar As Integer, siac As Integer Set SIATable = SIADoc.Tables.Add(SIADoc.Bookmarks("\endofdoc").Range, rs.RecordCount, 7) SIATable.Range.ParagraphFormat.SpaceAfter = 0 SIATable.Range.Font.Underline = wdUnderlineNone SIADoc.Tables(1).Borders(wdBorderTop).LineStyle = wdLineStyleSingle SIADoc.Tables(1).Borders(wdBorderLeft).LineStyle = wdLineStyleSingle SIADoc.Tables(1).Borders(wdBorderBottom).LineStyle = wdLineStyleSingle SIADoc.Tables(1).Borders(wdBorderRight).LineStyle = wdLineStyleSingle SIADoc.Tables(1).Borders(wdBorderHorizontal).LineStyle = wdLineStyleSingle SIADoc.Tables(1).Borders(wdBorderVertical).LineStyle = wdLineStyleSingle For siar = 1 To rs.RecordCount For siac = 1 To 7 SIATable.Cell(siar, … | |
hallo there i had built a bunch of webpages and they ve been working fine for months. yestarday i installed this website to another computer after i instaled easyphp 5.4.6 (Apache 2.4.2, mysql 5.5.27 and php 5.4.6). it seems that nothing is working as it should. after i debug my … | |
I want to check if nickname contains only numbers and letters. It cant contain anything else. My current code is not working because as soon as I type in atleast one legal lettrer, the entire string evaluates to true every time I check, no matter how many illegal characters it … | |
hi everyone I'm supposed to write a wifi analyzer in java , what are the libraries I need to do it ? also I'm using linux will my work be protable for windows?? | |
Hello all, I'm suppose to write a program that asks the user to input five numbers. Out of those five numbers, the program is suppose to select the maximum value. I attempted to do it with "else-if" statements as can be seen in the following code. I was hoping there … | |
I'm working on a web application for a class of mine. The assignment is to create a College Services app where students can login and register for classes. Right now I'm working on the login portion and it coded out but I'm having some issue and hopeing I get a … | |
hi everyone thanx alot for helping me u solved me many problem so i need ur help again after i'm login and choose a movie that the person want to watch it i'm create table time and i insert the time for booking and the user will choose the time … | |
Hi everyone, I'm developing a music website and got stuck on this problem. Whenever a user submits a playlist from youtube, i fetch for video thumbnails and list them for the user. Here's the code: <? $site = 'youtube'; } $plID = str_replace("http://www.youtube.com/playlist?list=", "", $url); $xmlLink = "http://gdata.youtube.com/feeds/api/playlists/" . $plID; … | |
I am baffled, I've been trying to get this piece of code to work for the past 30 minutes but with no luck. It should in theory be a simple registration script to check the user's input and then add it to the database however it won't add it to … | |
I have been inserting the file path in to data base but it s giving a mysql syantax error can any pne fix it <?php include 'db.php'; if($_SERVER['REQUEST_METHOD']=='POST') { if(isset($_FILES['photo'])&& is_uploaded_file($_FILES['photo']['tmp_name']) && $_FILES['photo']['error']==UPLOAD_ERR_OK) { if($_FILES['photo']['type']=='image/jpeg') { $tmp_img = $_FILES['photo']['tmp_name']; $path = "d:/xampp/htdocs/upload/images/" .$_FILES['photo']['name']; move_uploaded_file($_FILES['photo']['tmp_name'], $path); $imgname=$_FILES['photo']['name']; $q="Insert INTO image (name,imgpath) … |
The End.