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

Email logic not working
I would like to send an email using the php email() function then if it does execute i.e sends i wou

Remove values in array2 from array1
I have two arrays.

Array 1 is where the array key holds various different numbers. For exampl

displaying email without attracting a ton of spam
Hello,

this is maybe the wrong place to ask.
How would you display an email address on a w

Printing a webpage
I use this to print the webpage: o

Namespace Problem
I'm having problem with a section of code with a variable namespace.

This code works fine:

UL and LI Add Form
The idea I want here is when the user click on a character name from the drop down select bar at the

please, need help coding this voting for your favorite car polling system.
hi, my code needs a lot of work, but i want to be able to let users vote on their favorite car, upda

IP question
ive got 2 ip addresses both global from same user how would i detect if they are local to each other

How to generate a text file using php...?
Hi,
Can anyone give me code to generate a text file using php


Thanks in advance

php/mysql problem
Hey all,

Problem: im trying to setup a shop where people can use a drop-down list to select t

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