I have a basic html form that adds some data to the page using PHP. I want to make this form field a "Price" field. My html is:
<input class="bids" name="comment" id="comment" tabindex="4" />
How can I fix this field so that users can't enter random letters, dollar signs, dashes, or other weird formats. I want the output to be whole dollars. Sorry I'm a complete programming moron. :)
Pretty self explanatory question, glad for any answer. For me it doesn't make sense. I don't care about losing information. I just want to concatenate all my lists that inherit IRenderable somehow into a single list and then call IRenderable methods on it.
I have a feeling that this is some basic rule of programming I forgot...
<select name="select">
</select>
I want to populate the above tag with values from database.
I have written php code up to this.
while($row=mysql_fetch_array($result))
{
}
$row is fetching fetching correct values.. how to add it to the <select>
please help... Am new to programming
I'm rather new with the whole OSX programming, I wanted to stick a WebView into an empty app. Apparently it isn't as simple as sticking a WebView on a window in interface builder and creating an outlet.
IBOutlet WebView *webView;
It gives me a
expected specifier-qualifier-list before 'WebView'
and when I don't use an outlet, it terminates due to uncaught exception. I'm not too sure what these error messages mean.
Seems it isn't that simple!
how powerful is Bluetooth programming on Android? is it possible to add new protocols and encryption techniques? or even change in the current protocols? does it support bluetooth 2.1+EDR?
In win32 programming in C:
Whats the best way to execute a win32 console program within another win32 program, and have the program that started the execution capture the output? At the moment I made the program redirect output to a file, but I am sure I must be able to open some sort of pipe?
I'm trying to setup something like Aspect Oriented Programming in Actionscript 3, basically the only thing I need to be able to do is something like this:
SomeClass.getMethod("methodName").addEventListener(afterMethodExecuted, function() {
//run code
});
This way I can run code after (or before) any method in any class has run, allowing numerous new possibilities.
How should I implement this?
Will software ever be considered "antique"?
In other words, is a stack of punch cards worth anything? (Perhaps if they were made by someone special, or the program on them was some type of programming milestone?)
What about modern software?
Pretty basic programming question, I know PHP have a function for it, but does the iPhone OS have one?
I want to check if the current indexPath is a value in an array.
PHP Example:
<?php
$indexPath = 3;
$array = array("0", "1", "2", "3", "4");
if (in_array($indexPath, $array)) {
// Do something
}
?>
Does anybody know how to do the same thing inthe iPhone OS?
If you were a programming teacher and you had to choose one sorting algorithm to teach your students which one would it be? I am asking for only one because I just want to introduce the concept of sorting. Should it be the bubble sort or the selection sort? I have noticed that these two are taught most often. Is there another type of sort that will explain sorting in an easier to understand way?
I need to teach myself Winforms and user interface programming and want a decent book that will go thoroughly into the ins and outs of how to accomplish things.
Can anyone suggest a good book?
I know C# pretty well and have messed about with Winforms in the designer before.
Thank you
Hi
I am working with telecom company.I am familiar with java programming language.But now I have a task to write a script , with linux operating systems.I have to write a script for fetching data from other computer and check some conditions. How can I do that using Java. Plz help me.
Thanks.
Hi,
We have request from our clients to provide a POS terminal version of our web-based software. They want to be able to enter record to their database from POS terminal (via web service) instead of using PC browser. I am the one to develop this application, as I am the lead developer of the main application. I haven't done any Windows embedded programming or .net compact edition before and would appreciate link to good tutorial or info on how to start developing for Windows CE 6.0 enabled POS terminal or device.
Thanks
i need some help!, i am planning to develop such LBS Mobile Application which find nearest things based on gps data from mobile.
1.what are the best free and (preferably) open source technologies for development?.
2.What programming language to use for development of such application?.
3.what are the points to be considered?
I need the general overview of the requirements for planning, I was interested in having a general understanding of the data, tools, and frameworks required to accomplish the job.
Please forgive my programming knowledge. I know this is a simple thing, but I do not understand why result is always 0. Why decimal will be fine?
int a = 100;
int b = 200;
decimal c = (a / b) * 100;
Many thanks.
does anyone know of a visual programming tool that could be adapted for children (kids age 7-12) so that they can generate c programs to control device?
I am a beginner in Android programming. I want to build a simple application with a main list view in the screen and two buttons at the bottom of the screen.
When more items are added to the list view, the list view should scroll without increasing the overall length of the list view.
Hi,
I am basically working on unix and c programming.
i want to start learning Pro*c on unix.
Is there any good online tutorial which will help me start writing simple programs in pro*c and compiling those Pro*c files.?
Thanks in advance for your help.
I recently started working on my first SharePoint (2007) project (C#), so I was wondering if anyone can point me to some good resources that will get me up and running with SharePoint programming basics quickly. I'd like to have a deeper understanding of the various terms I'm hearing such as Features, Lists, wsp, etc.
Guys I study C++ for a second year. Till now I was doing only console app but I think it's a time to start programming in Windows. There are few alternatives and Qt is one of them but I'm also drawn towards pure Windows API - for more power of course. What would you suggest?
We want to persist some user settings int he GUI part of our code. I used to do Win32 programming exclusively and the typical way this was done was with registry settings.
I assume that this should be done with configuration files, but was wondering if there was a library or cross platform wrapper that made key/value pair persistence very easy.
In method overloading, is it possible to have different return types for a overloaded method?
for example,
void foo(int x) ;
int foo(int x,int y);
double foo(String str);
in general object oriented programming, is it possible?
This is not closely related to programming stuff, so I marked as community wiki.
I am wondering how can I show a live Presentation from an Android phone? I want to put on a big screen my app, while I am presenting at a conference. I will directly interact with the phone during the presentation and I want the mobile screen visible on the big screen.
Are there any apps that does this, or this is possible by the USB cable?
Possible Duplicate:
A puzzle - a program printing its own source
In your favorite programming language, write a program that, when run, will print out its own source code!
Sounds interesting, now let's go!
ps: Literally, there is "NO" use case for this, just plain curiosity!