Commit Graph

79 Commits

Author SHA1 Message Date
Hassan
91e036523a Ternary Operators (#31060)
php ternary operators.
2019-03-28 16:27:58 -07:00
Berat Aşıcı
ea700759fe Added Comparison Operators (#32078)
Also removed HTML tags and wrote everything in markdown syntax
2019-03-28 16:27:09 -07:00
Daniele Pedone
d7736fb8be Added Magic Methods (#31344)
* Added Magic Methods

* Update index.md
2019-03-28 15:33:08 -07:00
RichardLimSpring
d123d4a0eb Add basic PHP file writing functions (#30396)
* Add basic PHP file writing functions 

2 different fopen mode, each with different properties and 1 file writing function.

* fix: removed stub info

* Update index.md

* Update index.md
2019-03-28 15:22:19 -07:00
RichardLimSpring
f319a46b14 Added 2 File reading functions (#30120)
* Added 2 reading functions

Added :  fopen for reading, fread function and file_get_contents function.

* Update index.md

* Update index.md
2019-03-28 15:19:22 -07:00
Hassan
030b9346bf html form introduction. (#29545)
Little bit of introduction of forms.
2019-03-28 15:18:59 -07:00
Alison Sinton
c3cc035d5a Formatting update (#32851)
Removed a line break to maintain great formatting techniques.
2019-03-28 14:53:56 -07:00
Lipis
e84ae45008 Javascript -> JavaScript (English) (#35183)
* Javascript -> JavaScript (English)

* Update technical documentation page for required change

* Update use-class-syntax-to-define-a-constructor-function.english.md

* Update left-factorials.md
2019-03-28 14:05:41 +05:30
Smith Nkereuwem
74cd81faf9 An Update to the intro to PHP guide. Quick Little Review. (#33961)
* Update index.md

* Update index.md
2019-03-26 18:14:14 -07:00
Saurav Bajracharya
a585eef1f7 Added some texts regarding external php scripts (#30419)
and calling them using include and require
2019-03-26 18:12:17 -07:00
Imam Wahyudi
1b4e3c01b7 Get The Length of an Array - The count() Function (#30983) 2019-03-21 18:59:10 +05:30
Joe Erickson
e6e58b8aa0 Update array description (#27458)
Update the array description with better examples and more description about the arrays.
2019-03-21 18:44:52 +05:30
Nguyen Viet
487bf5dd4c add resource type (#26605)
* add resource type 

add resource type

* update more meaning text
2019-03-11 07:49:27 -07:00
Tom
65c3188fd7 Fix/remove stubs on filled articles (#35506) 2019-03-06 01:57:17 +05:30
Joe Erickson
0890dda962 Add content for PHP strings (#27489)
* Add content for PHP strings

* fix: resolved conflict
2019-02-28 16:37:12 -08:00
Zonqq
3f2b07ed71 Add information "String" (#26594) 2019-02-28 14:51:54 -08:00
Nguyen Viet
063257939b add php tag + update coding style (#26602)
should use all camel case for method
2019-02-24 09:41:44 -08:00
Gabriel Hoverman
9d2719e2e4 Added PHP Try Catch to Guide. (#33840)
* Added PHP Try Catch to Guide.

* fix: change tru to try
2019-02-20 20:52:08 -08:00
Gabriel Hoverman
9526a6ed03 Added PHP Substring Function to Guide. (#33826)
* Added PHP Substring Function to Guide.

* Added PHP Substring Function to Guide.

* Fixed typo
2019-02-20 08:40:18 -08:00
Daniele Pedone
4bd426500f Added info for stdClass (#31363)
* Update index.md

* fix: changed strClass to stdClass
2019-02-20 07:03:27 -08:00
Matt Christensen
b0edf27c8a updated index by adding explode() function (#33621) 2019-02-20 06:40:01 -08:00
Tankica
d6f8ddfdb3 Add strtolower function (#31351) 2019-02-19 10:40:21 -08:00
Shahbaz Ahmad Siddiqui
3fa796094b Definition added (#26304)
* Definition added

* Removed stub
2019-01-15 17:28:29 -05:00
Tankica
6bbf1c0c53 Add explanation about loops (#31343) 2018-12-29 13:52:01 -08:00
Atom
a31507ecd0 fixed some grammatical errors (#27212) 2018-12-29 13:50:25 -08:00
raysr01
3ee06dd634 Added more info links (#31136)
* Added more info links

* fix: removed non-official php doc links
2018-12-29 21:24:53 +00:00
Jacob Hoard
80c60de887 Fixed grammar issues to help readability (#21144)
* Fixed grammar issues to help readability

* fix: changed rask for to a task
2018-12-29 21:24:19 +00:00
Adam Molnar
ee5aeab2e8 Added a resource (#26404) 2018-12-26 20:26:46 -05:00
pirland
0e86226911 Added code block open and close around Mysqli example. (#26354)
* Update index.md

Added code block open and close around Mysqli example.

* Changed code block to use backticks.

* Removed php tags from code example

Removed php tags from code example.

* Added formatting, syntax highlighting
2018-12-26 18:13:14 -05:00
pirland
f1a9cbf3f9 Changed MsSQL to MSSQL. (#26346)
* Update index.md

Changed MsSQL to MSSQL.

* Added space
2018-12-26 17:50:19 -05:00
Ashutosh Kumar
6816c92620 Added methods for Installing PHP and configuring Virtual Hosts in Apache (#26359)
* Added Basic Configuration Settings for apache

* Added More Methods of Installing PHP on Windows and Ubuntu
2018-12-18 10:35:17 -07:00
Tim Austin
28c02d4b24 updated php-install guide (#25497)
Updated installation instructions for contemporary package managers, bundles, libraries.
2018-12-18 09:59:13 -07:00
Rich
7fd2dce311 PHP array incorrect value (#32944)
* grammar update

* Incorrect array value
2018-12-17 09:14:14 -08:00
Tankica
15bfa694cd Add the count function (#31336) 2018-12-16 21:07:16 -08:00
Daniele Pedone
6d9f8593cb Update index.md to add a new item into php array (#31333) 2018-12-16 21:06:35 -08:00
exiam
68c5a2e4e8 Edit wording/examples on PHP array documentation (#29885) 2018-12-16 20:50:57 -08:00
Vlăduț Ilie
9e1be6b7eb Another example added (#27998)
* Another example added

Multiple datatypes added in Syntax section.

* Update index.md
2018-12-16 20:14:22 -08:00
tokesk
7913bf54cc Add php syntax highlighting (#25514) 2018-12-16 19:58:56 -08:00
NIKHIL BHANSI
4f4577ed15 Removed Duplicate more info (#32775)
Removed duplicate more info lines and Added in one section
2018-12-13 01:02:32 -08:00
Corey Abma
723fa03609 update: added additional note fields (#29551)
* fix: corrected placement of notes

Some "note" fields were preemptive in their placement; I corrected their placement to be in more appropriate locations.

* update: added additional note fields

Added some additional "note" fields to assist those who are reading through the PHP documentation.

* fix: formatting of escape sequence examples

The formatting was a bit jumbled, so I cleaned up the formatting of the escape sequence.

* update: improved examples

I added a new example to demonstrate the use of a "break" statement in a while loop, as well as numbered each example.

* update: add clarifying statement

I added a note at the end of the description, with the goal of being a bit more explicit in terms of what the "continue" statement does.
2018-12-13 00:51:39 -08:00
Vlăduț Ilie
e545aceab8 Bug fixed in the Ternary Operators (#27984)
The initial syntax was wrong. See the changelog.
2018-12-13 00:40:56 -08:00
pirland
f9e2fdb55f Update index.md (#26333)
Added and example of ternary syntax.
2018-12-13 00:31:49 -08:00
Parth
c2de333137 Add ternary example (#24581) 2018-12-13 00:20:36 -08:00
Dhiraj Kanchan
022ffb21b2 Fix syntax to use equal to operator instead of assignment operator. (#24467)
Fix if statement to use Double equals (==)  instead of Single equal  (=) which would overwrite the value of $_GET['name'] variable.
2018-12-12 05:37:07 -05:00
P.RR
722c84ff2e Updating the statistic of PHP usage (#24476)
source: https://w3techs.com/technologies/details/pl-php/all/all
2018-12-11 19:58:17 -05:00
Simon Schindlatz
d5adba3e23 Added section for assignment operators. (#24416)
* updated index.md

Added new paragraph for assigment operator. Edited "More Inofrmation" section by adding two links.

* Fixed formatting issues and assignment statement
2018-12-10 18:22:24 -05:00
Richard
ba242ccf1e Short description and code example of Exceptions (#23406)
* Short description and code example of Exceptions

* Fixed typos and formatting
2018-11-23 21:01:08 -05:00
Tomas Luque Gonzalez
ffc8c1b091 Keywords explanation (#22407)
* Keywords explanation

* format better...

add more info title + move link to it
make a list of info under note
2018-11-21 14:50:18 -07:00
Bearz314
aae77a7890 Added explanation on the -- (#22343)
Added explanations on using `--` in SQL to comment out unwanted trailing characters.

Payload should not have a `'` as numbers should not be wrapped by quotes (source: https://www.w3schools.com/sql/sql_where.asp ) The previous payload would have an extra closing quote in the SQL query.
2018-11-21 14:31:47 -07:00
Rajesh Chittampally
6ff8d96efc Added a php framework, installation steps (#22401)
* Added a php framework, installation steps

Added a PHP framework, installation steps and added other minor texts

* Fixed small typo issues

* fixed small typo issues in links
2018-11-21 09:15:52 -06:00