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

Problem with "dynamic" index page
Hi. I have one question. In my index.php page I have this kind of code:
Code: // listaa sivut

Help with php code
Hello, can anyone tell me why this php word trap fails to work,
and the trigger words get blow r

Appending GET data with form submition
Okay, what I'm trying to do is to use a form to append an already existing GET data string.

I

passing an array of objects after submit
How do I do this? This is what I have tried and it is not working.

<form method="

in php, link returns to the line
When I add a link in a php page, the link word returns to the line (as a
would do)

Examp

Preg_match with an array
is there an away to use preg_match with an array?

i want to check a string with an array to s

CE 7.1 and External GIS integration
Hi All,

We want to develop an application on CE 7.1 which uses GIS features from an exter

Escaped characters
I have a script that allows you to post news to the home page of my site. Along with the news is the

Set Categories
I am creating a submission form for somebody to come in and submit products. These products are sep

How to convert this array to string
I am having problems converting this array to a string
using print_r($val[1]); I get:
Code: [

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