Login
Remember
Register
References
Ranks
Add reference
Recent reference and example in PHP
0
votes
0
example
17
views
PHP - run PHP on Mac for local development
added
Jan 20
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
php
localdev
0
votes
24
example
4,358
views
PHP - if, else, elseif condition
responded
Jul 21, 2022
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
php
value
condition
if
normalize
0
votes
0
example
241
views
PHP - echo HTML string and PHP variable
added
Aug 19, 2021
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
html
string
php
echo
variable
combine
0
votes
0
example
256
views
PHP - if value is null or empty, do this
added
Aug 19, 2021
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
condition
notpresent
empty
null
0
votes
0
example
204
views
PHP - H4 element condition
added
Jun 11, 2021
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
php
condition
0
votes
1
example
392
views
PHP - Using js into PHP code
responded
Dec 17, 2020
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
javascript
js
php
output
0
votes
7
example
1,129
views
PHP - if element is present or !empty - else if
responded
Sep 2, 2020
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
condition
php
empty
notempty
present
exist
0
votes
3
example
636
views
PHP print - Output a string
responded
Mar 13, 2020
in
PHP
by
LC Marshal
Captain
(
25,790
points)
php
print
echo
browser
outcome
test
0
votes
1
example
652
views
PHP - epoch to time ago (function)
responded
Mar 12, 2020
in
PHP
by
LC Marshal
Captain
(
25,790
points)
time-ago
epoch
api
timestamp
date
convert
php
function
0
votes
0
example
234
views
PHP - store multiple values with array
added
Feb 24, 2020
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
php
array
value
populate
0
votes
1
example
395
views
PHP - Conditional show/hide data by date
responded
Nov 8, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
show
php
condition
hide
date
end
0
votes
0
example
297
views
PHP - Conditional to show/hide value
added
Nov 8, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
show
php
condition
normalize
hide
0
votes
3
example
782
views
PHP - foreach() to loop the array values
responded
Nov 8, 2019
in
PHP
by
LC Marshal
Captain
(
25,790
points)
php
loop
foreach
endforeach
array
value
0
votes
0
example
269
views
PHP - Condition for OG (Open Graph Protocol) in head element
added
Nov 6, 2019
in
PHP
by
LC Marshal
Captain
(
25,790
points)
condition
php
if
head
html
og
opengraph
0
votes
0
example
1,046
views
PHP - Multiple nodes condition
added
Nov 6, 2019
in
PHP
by
LC Marshal
Captain
(
25,790
points)
php
node
condition
if
0
votes
1
example
337
views
PHP - Operators & conditions
responded
Nov 5, 2019
in
PHP
by
LC Marshal
Captain
(
25,790
points)
php
operator
multiplication
greater
ifelse
elseif
while
0
votes
2
example
521
views
PHP - Switch case example
responded
Nov 5, 2019
in
PHP
by
LC Marshal
Captain
(
25,790
points)
condition
switch
php
ifelse
case
default
0
votes
0
example
422
views
PHP - Conditional:: if login is agent, do this
added
Sep 25, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
condition
if
php
flag
0
votes
0
example
275
views
PHP - dev reference
added
Sep 24, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
php
dev
staging
test
0
votes
0
example
347
views
PHP - strip_tags() function to strip HTML from string
added
Sep 24, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
php
condition
show
data
limit
substr
strip_tags
0
votes
1
example
333
views
PHP - substr() function to limit text
responded
Sep 24, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
php
substr
limit
text
character
0
votes
0
example
273
views
PHP - replace character
added
Sep 24, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
replace
php
digit
decimal
0
votes
0
example
281
views
PHP - Conditional:: Show counter when images more than 4
added
Sep 24, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
php
condition
show
normalize
0
votes
0
example
228
views
PHP - Advanced escaping using conditions
added
Sep 24, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
condition
php
escape
0
votes
0
example
251
views
PHP - Conditional:: show URL if value !empty
added
Sep 24, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
php
condition
normalize
show
0
votes
0
example
262
views
PHP - Conditional for show/hide multiple values
added
Sep 24, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
show
hide
php
data
normalize
condition
0
votes
1
example
388
views
PHP - Populate data or data row
responded
Sep 24, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
php
data
row
populate
0
votes
3
example
629
views
PHP - Check if the variable is set and different than Null with isset
responded
Aug 16, 2019
in
PHP
by
lcjr
First Warrant Officer
(
11,960
points)
php
isset
null
condition
0
votes
1
example
350
views
PHP - convert a string into uppercase with strtoupper()
responded
Aug 9, 2019
in
PHP
by
LC Marshal
Captain
(
25,790
points)
php
uppercase
strtoupper
0
votes
2
example
501
views
PHP - combine strings as variable
responded
Aug 6, 2019
in
PHP
by
anonymous
php
combine
string
strings
variable
To see more, click for all the
reference in this category
.
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
All categories
API
(35)
React
(149)
Javascript
(100)
Next JS
(10)
jQuery
(176)
CSS
(141)
SCSS
(25)
UI design
(1)
Vue
(25)
JSX
(12)
ES6
(8)
Regex
(6)
PHP
(62)
mySQL
(9)
Drupal
(15)
Bootstrap
(22)
Repository
(41)
Software & tools
(38)
Google tools
(28)
Plugins
(13)
Gulp
(9)
NPM
(9)
Node JS
(7)
CMS
(9)
Command-line
(7)
Database
(2)
Domain & hosting
(16)
Elixir
(1)
HTML
(22)
Networking
(4)
Python
(0)
Server issues
(12)
VM & Remote desktop
(2)
VSCode
(7)
Windows
(11)
XSLT
(5)
General
(868)
...