what does this mean? +=


Posted on 16th Feb 2014 07:03 pm by admin

is anyone able to explain what this code is saying?

i had it written for me awhile back and now that i wanna change it about to make it my own etc i dont really know what each part is doing... esspecially the += part lol.


im using a form which includes this:

Code: <input type="hidden" name="item_name" value="50 Awake Pills" />

and then from the form above this code is used:

Code: $total = ereg_replace( "[^A-Za-z0-9]", "", $_REQUEST['item_name'] );

$total += 0;

for ( $i = 0; $i < $total; $i++ )

No comments posted yet

Your Answer:

Login to answer
135 Like 17 Dislike
Previous forums Next forums
Other forums

Help to integrate whois Domain Details to website
Hi,

can i know is their any php script r methods to add domain details to my website.

image upload script not working with png
The basic process of this php code is to take the submitted file, convert it to a small JPG thumbnai

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

Most basic form question ever?
Hello,

I want to use this snippet to make sure the fields in a form are ok before processing

sapgui f4 help last search
I know this has to be simople. One user (maybe more) does not have the "last search saved" from the

chat
hello i'm amir i need a chat source code in asp.net 2.0 without Ajax. anybody can help me?

how can we add data from dynamic fields to mysql db in php
i have a script which i found on the internet. i modify that script according to my needs. what is i

Creating XML with php
I need to creat an XML with php and have successfully produced a valid output.
The problem I hav

MySQL Primary key gap
Alright, so I have a table with 26 entries in it (id, filename, caption) for my image randomiser (ht

pagination - need help on passing of search query.
Hi, i have been trying for days but couldn't get this sorted out. Would like some professional help

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash