It's very hard to say where exactly the problem lies without knowing in-depth about the webservice.
Well then you have to store the data in text files, in a specific format say user:location:age OR user#ocation#age, so that the data retrieval...
\n stands for newline. Visit http://in2.php.net/types.string for more escape sequences.
I didnt exactly egt what you want to do, please explain.
Can anyone tell me what is a simpleton method?
OK. Modify the table, so that id field is auto_increment, or insert an value for id, in the query.
Try replacing $query = mysql_query("INSERT INTO users (username, password, email) VALUES('$username','$password','$email')"); with $query =...
See, the folder and file should be limited to these characters [a-z,A-Z,0-9,_,-], this would elimniate the problems, try making a new folder and...
It would be something like this <? $username = $_SESSION['usr']; $pwd = $_SESSION['pwd']; $h = fopen("userdata.txt");...
Interesting, so we will find the factor of n within any of the number in sqrt(n) if not then its a prime number.
For example, sqrt(60) = 7.46, that means we will loop 7 times, but 60 is divisible by 30 also. The program works fine with sqrt, but what is the...
Well, I was trying to use regular expressions in Python. I wrote a small script, so I thought I'll will post it and make it open for discussion....
Its not using square root anywhere, and neither does it require too. Could you please tell me why does it need to use square root??
I understood your point, but I see you have used sqrt() ! How does that help?? And we need to check whether it got a factor execpt for itself and...
What does --disable-auto-rehash do??
A friend of mine who is learning to program in C, was having diffculty in writing a program to find the sum of all the prime numbers between a...
Substrings Left, Right and Mid are three Visual Basic functions to locate sections of a string. All of the following examples use the string...
Did you get any errors?? Please post the specific errors. I also see that you did not connect to the DB before the query.
Yeah, right! But you may need to include or require your files before that, you can include your files, before the session code.
Earlier today, I had posted a code snippet to print all the CGI environment variables in CGI-Perl. Well, I recently started learning Python too,...
Separate names with a comma.