[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/prog/ - Programming

Programming

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: 1464058131846.jpg (93.22 KB,600x400,3:2,fattest-animals-8-Fattest-….jpg)

5c45e7 No.4235

learning PHP right now. I bought some cheap ass kindle book and noticed that on the first chapter on variables it said that I add two variables like this

 $a = $b.$c;

the period acting as a plus sign. When I tried doing that all it did was put the two numbers next to eachother. After a quick google search I found that PHP actually uses "+" for adding and "." for concatenating strings, you know, the sane way.

Before I blast this author on Amazon for putting downright wrong information in their book, is there any reason the author would do this? is it something that was changed in PHP or is it downright wrong information?

pic unrelated

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5c45e7 No.4236

File: 1464075041861.png (82.7 KB,255x213,85:71,1454853439273.jpg.png)

>PHP

Sounds to me like your book is about as good as the language itself.

By the way, here's a good place to learn all you need to know about PHP:

https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5c45e7 No.4240

>>4236

I know but it's what Wordpress uses so I need to learn at least a little bit about it

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5c45e7 No.4243

I know PHP. How do I git good with CURL. I want to make some webbots. Also know bit JS. I see lot of things on node, angular and shit should learn them to make some meme stuff?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]