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

Convert array to string and write to csv file
I am looking to write a MySQL query to a csv file.

At the minute I:

check for the orig

Weird MySQL error, why am I recieving this?
PHP Code:


<?php require "global_settings.php"; ?>
<titl

foreach loop, assistance request
I would like some guidance on the usage of foreach as I try to parse through a large database and wh

set xml path in flash when xml created in memorystream and webrequest
i am creating an xml file using memory stream and i want to load this xml file into the flash on cli

Standard DES encryption script?
Can anybody point me to a tutorial or a short script that shows how to encrypt some text with salt i

MySQL issue
I am taking sentences through a form on page. Then checking some condition and trying to insert them

Php If in MySql query (hiding labels if a field is empty)
Okay, I've been trying to do this for a while, and I'm finally going to ask for help so I can get th

please hep to get values from a table row
can anyone tel me how I can select and get data from one row by pressing an Edit button in that row

What's wrong with my code
sobbing for many days, still don't know why please Help. Why my page isn't posted correctly. In a

do while...woes
I'm sure this is childsplay but it is stumping me, everytime i try what I think would make this work

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