199,114 Archived Topics
Remove Filter ![]() | |
Hello everybody.. I've been thinking what the best programming language to be used with the internet is.. In addition I want not to use ASP 'cause my web server works on Linux. Is C# better than ASP.net to download files automatically from the internet, update and retrieve information from databases … | |
Hey everyone I just started using a new hosting service called 1and1 all the normal pages are going fine that use the simple html extension. However one of my php pages that uses the session_start() and header() functions isnt working correctly and I get an error. Now I know an … | |
I believe this is similar to the dining philosophers problem but a little different and somewhat easier. [url]http://en.wikipedia.org/wiki/Dining_philosophers_problem[/url] Basically I have a barrier class and a waitingThread class. I need to create 4 threads. Each thread is meeting at a place to "eat". But none can begin "eating" until the … | |
hi, i want to compile a file through the makefile command.Once i type make example it says that it is up to date but when i try to run it (correct me if I'm wrong ./example) it says that permission was denied..does anybody have any clue about that? | |
I am making a wordpress plugin but I am having difficulty accessing the results from an array in a function Radio Box: [CODE] <!-- First radio button --> <label><input name="posk_options[radio_group_two]" type="radio" value="satellite" <?php checked('satellite', $options['RADIO_GROUP']); ?> /> Satellite</label><br /> <!-- Second radio button --> <label><input name="posk_options[radio_group_two]" type="radio" value="hybrid" <?php checked('hybrid', … | |
Hi, I am doing a project and I would like to know how to store usernames and passwords in an Access database, I have no clue but I know that my table must have fields for a userID,UserName and Password Please help! | |
Its my first time using JavaScript I'm trying to make the utctime and localtime to appear, but its not showing what did I do wrong here? [url]http://i53.tinypic.com/358a22w.png[/url] My work [CODE]<HTML> <head><title>Displaying Times and Dates</title></head> <body> <h1>Current Date and Time</h1> <p> <script language="JavaScript" type="text/javascript"> now = new Date(); localtime = now.toString(); … | |
Hi I am trying to build a MySQL database. I have made a table where some fields are VARCHAR and others are INT. All of them are null. One of the columns I made is Vote which is INT(5). Now I am trying to import data from a text file. … | |
[COLOR="Red"]The item "obj\Debug\RestaurantBookingSystem.frmSchedule.resources" was specified more than once in the "Resources" parameters. Duplicate items are not supported be the "Resources" paramerets[/COLOR] what should i do pls? | |
Hi, I am creating reports in my project using [B]TCPDF[/B]. I want to get the reports on a daily basis. For an example if there are 10 transactions occurred in a day, i want to display them in a report format. These are the 2 pages that i have created. … | |
hi does anybody know a free sms api that i can integrate in a web app.will need to take text from a database and the selected phone number from the database and send it via sms.iv heard about google voice sms option but it doest say much of if you … | |
I used the following to increment a "FOR" loop: for($row2[0] = 15; $row2[0] <= $rownum3; $row2[0]++) It worked. I tried to use the following to decrement the "FOR" loop: for($row2[0] <= $rownum3; $row2[0] = 15; $row2[0]--) It did NOT work and went into an infinite loop for some reason. Can … | |
I developed a method to query a database and return the specific values that I'm looking for except that the value being returned is the last value. In my while loop I can do a system.out.println(answers)and I can see all of the values, my return answers only returns the last … | |
If I have the following code [CODE]#include <stdio.h> #include <ctype.h> #include <string.h> int main(void) { char prose[] = "to be or not to be that is the question"; int i, len; len = strlen(prose); puts (prose); return 0; }[/CODE] where would I insert the function Cap to capitalize the first … | |
I am trying to remove items that are created more then 1 day old, but when I click delete to execute Button3_Click event, only 1 item is delete hence I have to click the button multiple times if I want to delete all items that are 1 day old. Please … | |
hi all friend I wanna Read some data from my Excel , but I can't work excel 2007, do you know what's problem. | |
I know this makes no sense at all, but hear me out and maybe someone can supply me with some info on how this can be accomplished correctly. Using an invoicing type example. You have a table of clients who can receive invoices, a table of invoices with invoice numbers … | |
hi i want to change the static table to a dynamic table using pointer what should i change in this case ? [CODE] #include <iostream> #include <fstream> #include <string> #include <math.h> using namespace std; int i ,j , l , k ,x ; float b; const int maxElements = 10000; … | |
![]() | In SMF 2.0 forum script what setting is required to prevent login if client end browser cookies are disabled ? Iam currently testing on my own site and SMF is allowing to login even if browser cookie is disabled. For information 'Local storage of cookies' is [I]disabled[/I] in SMF settings. ![]() |
I am at my wits end ! Dont know what's wrong with the following code. It is always saying "Parse error: syntax error, unexpected $end in C:\Program Files\EasyPHP-5.3.6.0\www\addallbuy.php on line 51" [CODE] <?Php mysql_connect("localhost","root"); mysql_select_db("landshop_clientdata"); $Date = Date("Y-m-d"); $Agt="Landshoppe"; $user="anitg"; $Title="Mr."; $first="Anit"; $last="Gopinath"; $Age="40"; $prop="Wanted 1 BHK/2BHK and other properties"; … | |
`Hello guys im trying to make this php code; [CODE]if(file_exists("u/txt/Chat/logged.txt")){ $file = $_SERVER[PHP_SELF]; if($file=="/systemchat.php"){ $file = file_get_contents("u/txt/Chat/logged.txt"); if(!strpos($file, $username)) { $myFile = "u/txt/Chat/logged.txt"; $fh = fopen($myFile, 'a+') or die("Can't open file"); $stringData = '<b>'.$username.'</b><br/>'; fwrite($fh, $stringData); fclose($fh); } } [/CODE] refreshed every second with Ajax, wondering how i should do … | |
how to remove a single quote ' in the search string...since it would generate an error if single quote is included... example, in an input box, the search string below are typed 'computer computer' 'c'o'm'p'u't'e'r if search button is click it would generate an error... please help..thanks... | |
Im using the rank function for a route order on my import. The script works perfectly fine except when I have to stops at a location (locationid,stored as a GUID). This is how it currently looks locationid Rank 0A0F4E97-699B-E011-B139-00188B47C528 1 0A0F4E97-699B-E011-B139-00188B47C528 2 110F4E97-699B-E011-B139-00188B47C528 3 110F4E97-699B-E011-B139-00188B47C528 4 0E0F4E97-699B-E011-B139-00188B47C528 5 0E0F4E97-699B-E011-B139-00188B47C528 6 … | |
hi everyone, i write data from database to the csv file,but i face problem how to print the csv file with multiple colors background for example first line is green then second line must be blue, please help me how can i do this in php | |
i want to pursue M.tech. from IIT but most of the people say that after M.Tech,u r limited to the field of teaching or research. I m interested in company jobs..plz do tell me if its useless to pursue M.Tech from IIt if i want to get a job in … | |
Any could give me a PHP script on how to call or execute mysql stored procedure. Thank you. Roland | |
i am new to java i hava saw error that illegal start of error in this program [CODE]public class double { public static void main(String[] args ) { double d=1232.44; System.out.println("the double value is :"+d); }}[/CODE] please help me | |
[CODE]void printer(char x) { int d, b, z; for(z=x; z>=1; z--) { for(b=z; b<=x-1; b++) printf(" "); for(d=z; d>=1; d--) printf("%d ", d); printf("\n"); } }[/CODE] that's my code which is supposed to print 4 3 2 1 4 3 2 4 3 4 when input is 4. however, it … | |
Hi everyone, I have a code which converts a html page into excel file. The following code has been working well so far, but Im having a problem of converting the html page into excel file after I had changed the localhost to another server. It's not able to generate … | |
Software: MN Tech Solutions Content Management System Software Version: 0.0 Developer: MN Tech Solutions Programmer/Designer: Mustafa Neguib (Founder of MN Tech Solutions) ok guys here it is . the project that i have been working on for the past two weeks. i have already got the green light from the … | |
how to set the selected item in combo box as displayed in java. please help me | |
Any could give me a PHP script on how to call or execute a MS SQL Server stored procedure, passing parameters to it and receiving a value from it using an Output parameter? | |
I was trying to write a program . But when i run it i have this error message this application has requested the runtime to terminate it in an unusual way | |
Hi, I have a query which takes too long to return result set. After then I turn result set into xls format to be downloaded at same time. Problem: Obviously, browser says "Request time out". Users will have this problem and my site will fail completely. What else out there … | |
Java - How to use system clipboard to copy and paste objects(JLabel or JButton) in a JFrame | |
hi I need advanced search for my news website,please help me | |
Hi, I'm developing a web app, but I think that maybe I'm not doing it the right way. See, for each page I take the GET variables from url, for instance: [url]www.webapp.com/?mode=register[/url] That way, the index gets the variable and displays the right page, in this case, the registration page. … | |
![]() | Hi, Just started to mess with MySQLi, created a simple login script, Connection to MySQL server establishes correctly, but then displays username is incorrect, because 0 rows were returned. 1) Am I doing it right, is the mysqli layout I'm using correct ? 2) Database structure is uid - username … |
Hi, In my project I am developing pagination concept. but here problem is data is too large so it takes too much time for fetching data. so anybody can give me solution like fetching data in some part so reduces data fetching time. Thanks in advance | |
Hi guys, Im still relatively new to c# and asp.net. I have decided to create a web forum using asp.net and c# just to help myself get a better understanding of the languages. Some mates of mine informed me that there are some open source forum projects already out there. … | |
Hello everyone, I have a question regarding a Japplet that I am creating for a theatre. The program is supposed to take a yes or no response from the user, take which section the user will be sitting in, ask how many tickets they would like to purchase, and then … | |
So briefly I have a framework class that I'm using that work perfect except with the issue I'm currently having. Problem is this, everything displays on the page as expected [B]until [/B]the form on the page is submitted and the ISSET at the top is true: [CODE=php]if(isset($addAccount)){ $SP = new … | |
I have a loop which shows an input dialog, process it and shows the name and picture of the student using setText and setIcon. After, I want to have at least 1-2secs of delay/pause so the user can have a look on it [B]before it loops back[/B] to show the … | |
I'm just wondering how to solve this problem. I've tried it myself with the code below but it doesn't seem to work. I made it so the database results come up from the database HEADSTONESA and it has a section called KEYS which is the cemetery key. I was wondering … | |
Write a java program to read a number up to 15 digits long or a date (dd/mm/yyyy). The program should distinguish numbers from input date, and prints them in alphabetic spelling form. Example: for input 234334564456455 the output should be : 234,334,564,456,455 is two hundred thirty four trillions and three … | |
The MYSQL db has a Location field with entries like: CAN CAN ON CAN ON, CAN BC CAN AB, CAN BC NY OH CANFIELD, OH TOLEDO WA, OR, CA Thus the location field can have multiple entries, all separated by a comma, but still held in the single Location field. … | |
I was reading a book and i faced an issue here [CODE]39 template< typename NODETYPE > 40 void Tree< NODETYPE >::insertNode( const NODETYPE &value ) 41 { 42 insertNodeHelper( &rootPtr, value ); 43 } // end function insertNode 44 45 // utility function called by insertNode; receives a pointer 46 … | |
Hi, I am working in C# windows application & I have one [B]combo box[/B] which have the list of items. and one [B]datagridview[/B]. now I want to [B]add new rows[/B] as i [B]select the combo box items[/B]. The number of row add in datagridview till i select the items from … | |
How to handle "0 rows found" error while filling datatable with select query that returns 0 rows. | |
hi guys! i have a problem regarding the queries i coded. my first query is to display the category name, description and maxscore: SELECT c.cat_name, g.maxscore, g.description FROM grp_performance INNER JOIN category c ON g.cat_id = c.cat_id the problem is, i don't know how to delete the row in the … |
The End.