DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
how to remove last element from php array
if
(
empty
(
$transport
[
count
(
$transport
)
-
1
]
)
)
{
unset
(
$transport
[
count
(
$transport
)
-
1
]
)
;
}
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#element
#php
#array
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit