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

Posting Serialized Data Not Working
I am trying to send an object from one PHP file to another using POST. I serialize the object and th

Simultaneous select/update/insert
Hi

How would I need to go about when 2 users update a single row simultaneous? And how would

"GROUP BY" in arrays
Well i'm looking to do something i usually could do easily using COUNT and GROUP BY if it was a sql

Count of reciepients in php mailer
How can i sent a mail to large no of reciepients say 10,00,00 Using PHP MAILER

Form help: Syntax & Logic
Hello again all,

I'm working on a form and ran into a wall (again) and can't seem to think th

upload only text files
hi guys i want to upload only text like like (pdf,note pad and ofiice files) so can any one please t

Passing an array of values From VB6.0 to Oracle PL/SQL Function
Basically we are using VB6.0.

When we try to pass an array from VB6.0 to an Oracle PL/SQL

Display a default image
I am trying to display generic image for items that don't have one, but I can't get it to display.

TCP Sending Unsigned Char...
Hi...

I want to send over tcp/ip some data, i have the data in hexadecimal, and when i tr

Something like an INI editor or a DelimitedText-Editor
Hi all,

Am very, very, very new to PHP and not sure if I should be posting this to a Javascri

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