php


when i print my php array, there is an 0 has been added at the end of the array,,how to remove that 0? and why it is printed? [closed]


when i print my php array, there is an 0 has been added at the end of the array,,how to remove that 0? and why it is printed?
$data = array('class' => '1','tamil' => '05/01/2017','english'=>'05/03/2017','maths'=>'05/05/2017','science'=>'05/08/2017','social'=>'05/10/2017');
result:
Array
(
[class] => 1
[tamil] => 05/01/2017
[english] => 05/03/2017
[maths] => 05/05/2017
[science] => 05/08/2017
[social] => 05/10/2017
)
0

Related Links

WP-login.php is Redirecting to the wrong URL
PHP MAIL CHECKBOX $POST
Why am I getting an unexpected T_NEW error in PHP?
.htaccess passing different values for $1 on dev / production servers
Facebook redirect in application
Getting values from different keys belonging to different arrays and merging them into another array
php_imap.dll for php v 5.2.6 apache for windows
Change 'sort by' in plugin
Difference between set_time_limit() and ini_set('max_execution_time', …)
British Date Formatting in PHP
Sending mail in PHP [closed]
Image upload form not posting input value when auto submitting form
jQuery looping only works on last row
Using a button outside a form to submit form and trigger jQuery validation
Codeigniter session problems
URI's to fetch database data (CodeIgniter)

Categories

HOME
elasticsearch
keyboard
initialization
web2py
google-search-console
mithril.js
hspi
msmq
wine
lc3
locationmanager
google-awareness
max-msp-jitter
dma
google-tasks-api
l20n
wsf
qa
tortoisemerge
xdebug
ruby-daemons
miniprofiler
spring-annotations
unmarshalling
amazon-iam
openbr
argv
snap-framework
gnu-classpath
busboy
ms-solver-foundation
identify
strapi
oauth2
yoast
type-inference
bit-shift
md5-file
renderman
entropy
maven-jaxb2-plugin
ptvs
dex
oid
annotatorjs
yargs
livereload
data-management
mathml
android-expansion-files
ioctl
flask-security
pack
diawi
self
largenumber
chicagoboss
extend
jnlp
hmisc
fasterxml
juttle
encryption-symmetric
xml-signature
box2dweb
siena
jini
webaii
radius-protocol
accountmanager
oxygene
jchartfx
jmenubar
yii-booster
codahale-metrics
disjoint-union
ax
unicoins
cyrillic
gprof
email-verification
story
stretch
struts2-s2hibernate
liveconnect
kolite
gwt-celltable
play2-mini
startupscript
rtd
libxslt
powergui
regioninfo
downloadfile
parentid

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App