Type: Posts; User: Nils28
Search took 0.01 seconds.
No, fgets() doesn't work, but never mind.
Thanks for the solution on how to use return. (This works).
But it is a crazy solution done in PHP and that is one of the dozes of reasons why I started...
I have to work and I don't like evening classes. :)
At the moment, I have another problem.
I learned some basics in PHP and it seems I don't like it as there's no logic behind but only...
It is not an advice as I didn't say what you should or shouldn't do.
It is just my meaning and what I understood from my first steps in learning how to program.
Do you like Ruby?
There is a question of choice which bothers me since I started learning PHP. :(
I saw a lots of examples of Ruby made me belief that there's more logic in it.
That is what you do with PHP in this case? It's called scripting.
PHP is also a programming language.
But, at the end, there are so many things you can not just learn by doing. If you don't...
It goes crazy as long as I don't understand the logic behind it !! :D
This doesn't find the first char (on position 0):
if (strpos($name, $pos))
echo strpos($name, $pos);
Just great George88.
I understand now why netbeans complains (returns a warning) about an uninitialized $number in fscanf(STDIN, "%d\n", $number);.
I read PHP doesn't work like C...
Very nice. Thanks.
Yes the last code you posted works but this is not the issue here because also the first code I put in my first post works fine.
The question is why doesn't it work...
Here the link: http://www.webdeveloper.com/forum/showthread.php?t=262437
I have already asked (almost) the same question.
Check my thread steps to follow in order to learn PHP.
I wanted to write a program which takes an input. If the input is an integer, it prints it, otherwise it will ask again and again.
This is the solution I could think about:
I have here a question about using continue and a string as an array.
At the end: this was the solution I configured out:
printf("Please enter your name: ");
Which IDE did you use for that and is there possibilty to read user-input from its command line (or console)?
Do you have to include or import any PHP library for doing that?
That is totally true.
Using olny a netbeans-like IDE command line to learn the basics or fundamentals of programming BUT doing this in PHP. Why? Because PHP is the same language I am going to...
Maybe some people would think it's ridiculous to learn programming in PHP without web browser/server. I can understand that but when you intend to lean the fundamentals using this scripting language,...
Yes, I saw that after my first google search.
But the question here is if did you did try that in netbeans/other IDE (i mean: work with PHP reading/writing without using web browser/server) ?
Thanks so much for the great post but what I meant by x in HTMLx is the version of HTML like 1.. xhtml.. html5. :p
Iam not coming from any language programming environment.
But I learned some C/Scratch basic from a general introduction to computer science.
Yes, I'd like to take user-input from...
So, the only way to read data is configuring webserver and using $_post / $_get variables. :(
As I said before, you can use PHP within netbeans without installing/configuring any webserver. All you need is PHP itself and netbeans IDE. I like this to learn fundamental things with PHP...
Or science vs. art.
Is "design" something you can learn or is it a gift (you have it or you don't)?
What do you think?
Did you learn to do design or are you raised up with creating...
It depends on how you define science.
Scientific thinking is something you can do even in your kitchen.
It is the way you think and how you catch a situation to convert it into a problem you can...
Greate but expensive. :D
Thanks and yes I would like to be a junior PHP developer with very good academic background. :)
I've found something but I don't know where it is about as there is no full-description or content...
Dears, thanks for the replies.
Yes, something like an introduction to computational thinking with PHP or intduction to computer science using PHP.