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.

Did you know?Explore Trending and Topic pages for more stories like this.

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

$variable = $variable
Hello

Sorry if this is a really simple question but I have run out of ideas. Is there a reall

calendar dates and hours compare problem
i have a calendar in wordpress, everything works great except that i can make 2 meetings at the same

login form can you find my error?
registrationform.php seems fine send data to registration.php
registration.php seems fine checks

Best way to cross matching large datasets
Hi,

Im running a script where am I cross matching about 200 000 data sets with each other. Ea

PHP search multiple input field box help
I am having a problem with my search script. At current it will simply search by a selected date whi

Help, Base64 encoding url and decoding server side.
Hello everyone, i have a website with videos and games and also provide an embed code which people c

Syntax Help
Code:


im having trouble with that code snipped
Parse error: syntax error, unexpec

Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string

Extracting Long text from message class with parameters
Hi,

I would like to extract the long text from a message class. However, the long text ha

preg-match with a string and numbers
Hi, I can't get the expression to work for my preg_match, what I'd like is for it to match the strin

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