199,114 Archived Topics
Remove Filter ![]() | |
Hi guys I am trying to buld an rss reader for random rss feeds in javascript. I need to catch the data in an event as I am going to pass around that event. I tried realtime.co or firebase and feedthefire but, there is no result so far. If someone … | |
Sir, I am new to php. I have following codes to connect with mysql <?php // Connection variables $host="localhost"; $username="root"; $password=""; $db_name="asia"; // Connect to host $con=mysqli_connect($host, $username, $password); // Connect result if(!$con){ die '<script type="text/javascript">alert("Error Connecting to HOST")'. mysqli_connect_error($con).'</script>'; } else { echo "Connected" . mysqli_error($con); } // Database … | |
Hi to all,could anyone please suggest the animation project? I am on the first year of software development course and need to start with animation project.Any ideas,suggestions?Regards. | |
![]() | Does anybody know how to make a program that calculates your work hours? I tried this code, but it's going all wrong. #include<stdio.h> #include<stdlib.h> #include<conio.h> #include<ctype.h> #include<string.h> #include<time.h> char* timein[5], timeout[5], p; int totaltime, ticktock, hour, minute, rate; FILE* f; int main(){ clrscr(); CreateTimeFile(); GetTimes(); DisplayFinalInfo(); getch(); } CreateTimeFile(){ f … |
[CODE]Hello daniweb Friends, i found my question's answer "How to Make a Hindi WebSite in PHP". You Can use Wordpress to make a Hindi website After instllation of Wordpress CMS Download a Wordpress Plugin name "HindiWriter1.1.zip". and put this in "plugins" Folder of your installed Wordpress CMS. Now login to … ![]() | |
Hi i need windows command line to find all files that end with .jpg.pdf and remove the .jpg part so it will be pure .pdf at the end, i have following line for /R %DIR% %%i in (*.jpg.pdf) do set without=%i:~0,-8% & rename %%i "%%without.pdf" It should remove last 8 … | |
Hi I have a code that's been working for me when my server is Cpanel. but due to ceratin issues i need to transfer to godaddy. i'm using this code before. but now it's not working. i have run a test connection and im sure i have a connection to … ![]() | |
if search by textbox is working jumpmenu not working but jumpmenu is working, textbox is not working help me please!! <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1"> <tr> <td width="518" style="font-size:16px; font-weight:bold;">รายชื่อผู้สมัครงานทั้งหมด</td> <td width="167" align="right"> <!-- <form action="position_add.php" method="get" name="add"> <div align="center"><input name="" type="submit" value="add" style="cursor:pointer;" /></div> </form>--> </td> </tr> <tr> … ![]() | |
![]() | I'm doing a C program where the user is asked to enter an employee number. I know how to make the program ask again if the number doesn't exist. However, I don't know how to have the program check it from a *.txt file like this. EMP10-1234,smith_john,2 EMP08-0321,kent_brenda,1 EMP10-0501,delcambre_kory,3 EMP11-0112,pregeant_mark,3 … ![]() |
I have the following code that is returning an error - not all code paths return a value. static class Products { public static List<ProductResponse> GetProducts(string productsURL) <---- error thrown here. { //List<ProductResponse> products = new List<ProductResponse>(); try { var w = new WebClient(); var jsonData = string.Empty; // make … | |
I ll give my best for this post not to be too long. I would like to make a program for my colleagues, students so they can check their results when they finish there task or if they want to check results first and then give it a try (doesn … | |
Hi guys, I'm an experienced VB programmer, but recently started using C# and I like it. But what I need to do now, is get a list of all printers installed on the computer (not a problem) and print a page to all of them (also not a problem)... BUT … | |
 here i attached one image. look at this.if i selected the Guest Currency then automatically Guest Currency Value should shown in the next text box. how to do that? is there any javascript, jquery plugin? Guest Currency : <select name="gcurrency" tabindex="21"> <option value=""></option> <option> INR India Rupees </option> … ![]() | |
I'm not even sure if I'm on the right track, but I am trying to count the excel rows for a worksheet and display them in a textox on my form. I've assuming it would be best to write the row count in the form load procedure and this is … | |
I am using VB.net 2008 and .net 2.0 framework. After I modified a class library in development environment, I build a particular class library in visual studio 2008 and dll file get generated in the bin directory. I copied this dll file to the bin directory in production environment. But … | |
Hello everyone i have an issue with this problem, the problem is i need to reset the count after every line in the file, i put a comment so you can see where i want to reset the count. The program is suppose to cut each line after every specified … | |
![]() | I'm trying to put together a webpage that will leave a dropdown menu (near merch1) disabled until the checkbox is selected, but the dropdown menu insists on staying disabled. I don't know if it has to do with my checkBox function, or if that's even a necessity. Here is a … ![]() |
I took a UIL test this weekend, and I don't understand this problem: What is output by //2 in the code to the right? The answer is 540,280, but I'd like to know why. int ct1 = 0; int ct2 = 1; for(int i=0; i<1040;i++){ for(int j=i; j<0; j--){ ct1++; … | |
how dataware house is different from traditional database ? examples | |
his one i'm working c# try to use the account database from account to customerid and then the view which is page must have from account dropdown box and toaccount dropdown box and enter the amount the submit which result the amount is deducted from balance I'm focusing on Account … | |
hi. please help.. how can i disable other check boxes when the user already checked 5 checkboxes? i have a grid view that is filled from database with checkboxes as template filed on the first column, then, user must choose only five records through checkbox.and when its already 5, all … | |
KNOW THE LOGIC BEHIND FACTORIAL PROGRAM And CALCULATE FACTORIAL OF VERY LARGE NUMBERS ! **WHat is the most efficient way of calculating the factorial of the number ?** http://www.lifengadget.com/lifengadget/program-to-find-factorial-of-number-in-c-plusplus/ | |
Hey Guys, Was reading a few posts on here and looks like a cool place to come and try to broaden my knowledge and try and teach myself C++. I've only been reading a few days and I decided to try and create a simple calculator. I wanted to see … | |
Hello, I know this is a very elementary question but after reading and trying for over four hours I know I need help or some direction. All I am trying to do is select options from two drop down boxes and two different msql selects. The the drop down boxes … ![]() | |
hi, i created this code a long time ago and during that time i had all the info i needed to do a save as PDF but now its all gone and the client wants that option so no one can change it. code below: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD … ![]() | |
On my search page [URL="http://daparadise.com/search.php"]http://daparadise.com/search.php[/URL] i want to make the logo auto change when a certain day comes up. Say like christmas. our a birthday or something like that. So how would i make the logo change in php when these days come up? ![]() | |
Hello , I am trying to implement this function: def getGuessedWord(theword, wordlist): for letter in theword: if letter in wordlist: print letter, else: print '_', For example: theword = 'hi' wordlist = ['e', 'i', 'o', 's'] must return : _i but it returns : _iNone I tried : for letter … | |
Here is my code.... #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> struct data{ int CustomerID; char Forename[15]; char Surname[20]; }; void CreateID (); //int checksize(); //void check number(); void CreateFirst (); int checklen(); int checknum(); void CreateLast(); int checklength(); //int checknumber(); void ViewRecord(); int main() { struct data records[2000]; … | |
![]() | In the parent directory O, I have a series of directories Aa, where a varies from 0-1. In each of these I have a series of directories Bb, where b varies from 0-1. In each of these there are the input/output files AaBbCc.dat and AaBbCc.out for some calculations [c also … |
hi i have this assignment in c++, i did it, but there is one tiny error i cant figure out the solution to it. the program below is supposed to take in 3 elements value inputs from user for 3 students. so if you run it, you get input student1 … | |
HI, I need to have a captcha in my jsp page. The captcha code is ready and it works perfectly well when the user enters the value. It reloads the same page if the captcha enterd is wrong. I need to navigate to the next page if the value is … | |
I create reports by means of RML(XML) and parse to PDF (use pyjon.reports). In output pdf polish char not display my xml file <?xml version="1.0" encoding="utf-8" standalone="no" ?> <!DOCTYPE document SYSTEM "rml.dtd"> <document filename="encoding-test-utf8.pdf"> <template> <pageTemplate id="main"> <frame id="first" x1="72" y1="72" width="451" height="698"/> </pageTemplate> </template> <stylesheet> </stylesheet> <story> <title>Test of … | |
I am using tinymce on a cms and I want to be able to have a dropdown menu of all pages on the site (stored in a db) to choose from when adding a link but all I am getting is an emtpy set of values. I am using the … | |
This is my display page <label for="City">City</label> <div id="city"> <select id="city" name="city" onChange="display(this.value)"> <option value="" selected="selected">-- Select city --</option> <?php include("getcitylist.php");?> </select> </div> this is my ajax page // JavaScript Document var XMLHttpRequestObject=false; function display(state_id) { if(window.XMLHttpRequest) { XMLHttpRequestObject=new XMLHttpRequest(); } else if(window.ActiveXObject) { XMLHttpRequestObject=new ActiveXObject("Microsoft.XMLHTTP"); } XMLHttpRequestObject.onreadystatechange=function() { if … ![]() | |
I have read a text file to console and printed the file after reading, int textLength=0 int c; int c; FILE *file; file = fopen("ModestProposal.txt", "r"); if (file) { while ((c = getc(file)) != EOF) putchar(c); //fclose(file); } textLength = strlen(c);//get the length of the text How come I can … | |
I am making a programe based on socket programing in which client can download one of the listed books from server. I have come up with this code but the problems with it are: 1) It doesnt downloads pdf file greater than 1MB. 2) It allows client to download 1 … | |
Hi there, in am new with Webmatrix and Visual studio 2013 and i would like to create the following : (for all user of the website) 1) a classic form contact in asp.net razor : email name subject message If is possible this message wil send an aoutomatic mail to … | |
I'm currently looking into the automatic generation of release notes (or change log) when we create a new release. I'm wondering how any of you tackle this. So far I've found these four interesting options: - https://tfsreleasenotes.codeplex.com/ - https://tfschangelog.codeplex.com/ - http://fromthedevtrenches.blogspot.nl/2013/04/automatically-generate-tfs-release.html - http://mskold.blogspot.nl/2012/05/generate-accumulated-release-notes-in.html Any insights greatly appreciated. | |
I'm creating a chat system using Codeigniter and I need to update a textarea with a field in the database each second. For that I'm trying to use jquery for the timer but I don't know how I can update the textarea with data from the database, with a call … | |
Can someone help me write a program to compute the computer programming grades of 8 IT students. ● Randomly create student numbers for each of the students and store each in an array. The program should take the input of (validate the input where appropriate): ● Names of Students and … | |
Hi all, I am working on the following code. In the SQL query, I am currently calling all the data from the DB using * and all works fine. I would like to be selective and call the coloumns required i.e UserID, UserFullName, UserEmail, UserLastPassword, but when I do this … | |
I have a text file points.txt which is formatted by Point2D/Point3D , X ,Y points.txt Point2D, [-9, -9] Point3D, [-9, -9, -9] Point2D, [-99, -99] Point2D, [-999, -999] Point3D, [-999, -999, -999] What I want to do is 1) retrieve the X and Y values that belong to Point2D from … | |
Hello: I need some assistance with a jquery/javascript code. I have a form with chain-linked list box of product, and prices. Each product is inside a <tr> which are added as needed. So there can be many items added to the form. The total of the items cost (qty*cost) from … | |
dear all, i want to parse this url: http://core3.oomph.co.id/api_omph_playground/index.php/nav/get_menu/1002/ to get all image, selectedImage, and url value. and my php syntax is: <?php $url1 = "http://core3.oomph.co.id/api_omph_playground/index.php/nav/get_menu/1002/"; $url = file_get_contents("$url1"); $arr = json_decode($url,true); foreach($arr['menu']['image'] as $item) { echo "image: ". $item[0] ."<br>"; echo "image_selected: ". $item[1] ."<br>"; echo "url: ". $item[2] … | |
Dear Experts I have following codes <?php if(isset($_get['submit'])) { // Connection variables $host="localhost"; $username="root"; $password=""; $db_name="asia"; // Connect to database $con=mysqli_connect("$host", "$username", "$password"); // Connect result if(!$con){ die('Error Connecting to Database: ' . mysqli_error()); //die '<script type="text/javascript">alert("Error Connecting to Database"). mysqli_error($con);</script>'; } else { echo "<script type=\"text/javascript\">alert(\"Connected\")" . mysqli_error($con) . … | |
i read about it somewhere else and i didn't understand it. that's why i am here seeking good explanatory answer so that i can understand the concept. p q p->q --------------------- TRUE TRUE TRUE TRUE FALSE FALSE FALSE TRUE TRUE FALSE FALSE TRUE I searched alot about it and they … | |
I'm trying to combine the functionality of the 3 codes below to produce a delayed redirect to a random URL while displaying a bar filling up by %. Each one works great, but I need all 3. Any help would be greatly appreciated. Thanks! **The first redirects after a delay** … | |
I tried to create a context menu for a griedview and when i test it it works greacefully private void gridView1_PopupMenuShowing(object sender, DevExpress.XtraGrid.Views.Grid.PopupMenuShowingEventArgs e) { ContextMenu c = new ContextMenu(); DevExpress.XtraGrid.Views.Grid.GridView view = (DevExpress.XtraGrid.Views.Grid.GridView)sender; DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo HitInfo = view.CalcHitInfo(e.Point); if (HitInfo.InRow) { view.FocusedRowHandle = HitInfo.RowHandle; c.MenuItems.Clear(); c.MenuItems.Add("sample", sampsss); c.MenuItems.Add("sample", sampsss2); c.Show(view.GridControl, … | |
Hi Guys, I would like to highlight the current day on this php script, can you help me figure out a simple way to do this? <?php $monthNames = Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); if (!isset($_GET["m"])) $_GET["m"] = date("n"); if (!isset($_GET["y"])) $_GET["y"] = … ![]() |
The End.