Notice: Array to string conversion in /home/... on line 38

I did finish the Data Types. Integers, Floats/Doubles, Strings, etc. But I don’t remember coming across this RETURN 1 thing.
Anyway, this thread might seem interesting to you as you’ll know how much I know and how much I can really ask:

I hope you like the thread’s name.
I don’t prowl in that forum anymore. The guys had a problem of me asking the same questions on more than one forum without telling them and decided to go quiet. Who gives a damn anyway. I got 2 better forums, like this one, to attend to.

Here’s the duplicate I created in this forum:

6 months from now, whenever I had a question, I opened 10 tabs and opened 10 threads (with same name) on all 10 forums. Only 8 were responsive. Slowly, some stopped responding as members were leaving. Some (about 2-3) found-out I was asking same questions on more than one forum and went silent. Now, I only get response from 2 (inc. this one). The other is getting unresponsive too. Maybe, they think I ask too many questions. Some mods have a problem with that but most not. :slight_smile:

Now compare the answers I got from both forums (see both links above) and you will see they vary. Now, you know why I ask questions on more than one forum. Good for work experience. If you stick to a single forum then there is no guarantee you will get answers from it. Best to ask on as many as you can and then see which ones yielded results and which ones not or which ones gave what responses.

Out of about 6-8 forums. Only this one proved to have mature contributors. Some of the others have down-right impatient and very rude ones aswell as good ones (a mixture) but on this forum I have yet to come across a rude one. Too much programming gets members frustrated in some forums and then they take it out on each other. Best to avoid these kinds of forums. Stick to this one, instead, where you won’t get sarcastic replies but worthy ones.

Btw, you’re not gonna like this. I just went through the link of the other forum (mentioned above) and found myself telling over there I know this and that about boolean etc. but guess what ? When I read all that (my own post) it seemed like I was reading someone else’s because to tell you the truth I can’t remember anything about what I claim to know about boolean over there. This proves, I have forgotten fast what I learnt. More reason for me to teach my php bot the notes of what I learn so it can remember it and remind me things I have forgotten. Good idea. :wink:
You see, if you read and learn something but don’t get the chance to practice then you forget it. Good thing cpradio suggested codeacademy.com because on each chapter they test you by getting you to code. I’m also thinking of building another .exe bot that will force me to type codes rapidly as an exercise and then check my answers if there is any errors. It will time me to see how long I take to write the code. Do I fumble or not and then give scores.
10 yrs back, I could type about 40 words per minute with my eyes closed without making hardly any typoes. Now, I’d probably manage 20 words with 50% typos, since I don’t practice. But, I am a fast typer still with my eyes open. My point is:
I think the best way for me not to forget things is by rapid typing as a form of memorizing the codes, etc…
The point of me mentioning that other forum (Dani Web) is that if you read my thread over there, then you will realize I know about the fact that different programming languages have different definition of the TRUE & FALSE. Replying to your statement:
“Booleans can be a bit tricky because different languages can evaluate “truthiness” differently.”
Whatever proves to be TRUE on one may not be TRUE on another language. Since I already know all this then I don’t want you bothering wasting your time telling me this or showing me code samples.
But still saying all this, yeah, you are sort of correct, I don’t have yet much knowledge of the basics of php or any language for that matter. Still learning. And it is taking time to finish learning because this time round I am trying to remember what I am learning. This is my 2nd or 3rd round/attempt to learn php. On my 1st round, back in sep 2015, I finished learning the basics of php from Tizag (old site) in 2wks (of what they had to offer) and in 1 wk I forgot 3 quarters of what I learnt.vAnd, that is due to not practicing by typing any codes. No exercises. Only reading. I want this round to be different. Taking it slowly and steady. Not gonna run (before I can walk) and trip over this time in the “forgetful lake”. :wink:
Saying all this, I’m not gonna quit trying to build my own member-reg-login site and web proxy (90% complete) and quit on the idea to start building my own searchengine very soon. And ofcourse, you guys will be a part of the help now and then. Lol! :wink:

Thanks cpradio for the codeacademy.com link. :slight_smile: