Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #2K
~14.8K People Reached
Favorite Tags
Member Avatar for rori

You must refer to the user inputs as $_POST[aid] and $_POST[apass]. DO NOT refer to them as $aid and $apass (don't even save them as variables if possible). There are many situation where this will come back to bite you in the rear if you do. I will mention the …

Member Avatar for joelbezerrapinho
0
254
Member Avatar for flashyflashy

Not going to happen:'( . Javascript and PHP are two separate languages and they are not aware of each other's existence. However, javascript can work with php variables for the following reason. PHP code executes on the server and sends only the html to the browser. The client browser never …

Member Avatar for demodav
0
8K
Member Avatar for ryy705

Try this: [code] lineStr = scanner.nextLine(); byte bytes[] = lineStr.getBytes(); char tab = 9; if((char)bytes[0]==((char)tab)) { lineStr = "NA" +lineStr; } [/code] simple :)

Member Avatar for ryy705
0
4K
Member Avatar for queenc

try taking out the \ from first line. They don't belong there anymore.

Member Avatar for digital-ether
0
329
Member Avatar for Rayhan Muktader

Hello, I found this class at phpclasses dot org. It retrieves emails from pop3/imap servers. It works wonderfully. But I would like to learn how it works. I emailed the author but did not receive any response. So I'm placing my questions on daniweb because I know how intelligent this …

Member Avatar for Rayhan Muktader
0
86
Member Avatar for atplerry

Unless you WANT to code everything your self checkout vbulletin if you want a forum. They already have the database and php ready for you, you just need to load it on the server.

Member Avatar for thomasjc
0
114
Member Avatar for Suhacini

Save the admin's selections in a database then load and display those events on the client's page when the client's page loads.

Member Avatar for Suhacini
0
101
Member Avatar for jinx_uk_98

Maybe you can try something like the following example: [CODE]$result = mysql_query("select * from name_table"); while ($row = mysql_fetch_array($result)) { echo"<label for=\"$row[id]\">$row[name]</label><input name=\"$row[id]\" type=\"text\"> </input>"; } [/CODE]

Member Avatar for jinx_uk_98
0
102
Member Avatar for uncoversports
Member Avatar for Will Gresham
0
142
Member Avatar for csshacker

Save all the texts displayed on the web pages in separate files. Save the English text in one file and Hindi text in another file. Include the right file depending on which language you want to display. For example, save define(HOME_TITLE, 'My Home Page Title') in a file called english.inc …

Member Avatar for ithelp
0
118
Member Avatar for jviney
Member Avatar for snakai415

Javac Example.exe ENTER This command must have failed. Did you not get any error message? Java source code files have the extension .java not exe. Check your book's example closely.

Member Avatar for peter_budo
0
248
Member Avatar for shila80

Since the arrays are sorted, you can use a binary search for this problem. That would make the what method n(log n). Take the middle value of the array and compare it to the value you are searching for. You found your answer if the values match. Or the value …

Member Avatar for Rayhan Muktader
0
101
Member Avatar for MAYYOS

You should use the Scanner class to parse each line of the file. Then use the functionalities of the String class to separate the variables and values.

Member Avatar for ~s.o.s~
0
91
Member Avatar for chio

The bubble sort would have to be in its own class(or file as you refer to it) in order for you to do this. You have to then create an object of the bubble sort class and pass in the values to be sorted. So your bubble sort class has …

Member Avatar for Rayhan Muktader
0
100
Member Avatar for aruna_k_2006

The variable date is an object of class Date not a string constant. The date object will give you the current date when ever you call on it. You should try to save the time stamp to a string variable. I like to use the Calender class since a lot …

Member Avatar for Rayhan Muktader
0
109
Member Avatar for silentcreeper

Umm.. what are you refering to when you say "class attributes"? Are you refering to instance variables? The following page has an example of how to read from text files: [URL]http://www.javacoffeebreak.com/faq/faq0004.html[/URL] Try it, then ask a more specific question about arrays of strings.

Member Avatar for Phaelax
0
154
Member Avatar for javaqueen

All Hail the javaqueen. What is a chapter loop? This is only a guess, but I say that you are being taught about nested for loops. You should either look in your text book or google "nested for loop" then try to write some code yourself. If you are still …

Member Avatar for Rayhan Muktader
0
94
Member Avatar for THK

You need to give out more details. Do you wish learn how to write constructors in general or are having a particular problem with you Clock class? Constructor for you Clock class would look something like the following code: public Clock(int h) { this.hours = h; }

Member Avatar for THK
0
221
Member Avatar for SyLk

The folllowing is some sudo code for addition through recursion: [code] int sum_recursion(array, size) { if (size equals to 1) then ( return 0) else ( array[size -1] + sum_recursion(array, --size) ); } [/code] You also have to type cast the the string numbers to integers while adding them, (if …

Member Avatar for Cudmore
0
122