Variable Clash


Posted on 16th Feb 2014 07:03 pm by admin

In the past I've had variables clash. For example:

Code: <?php
$c = 5;
$cat = "Molly";

$echo $cat . " is " . $c . " years old.";
?>
Before, I've seen it do: "5at is 5 years old."

Is there anyway around this?

337 Like 28 Dislike
Previous php-forum Next php-forum
Other php-forum

TemplatePower & AJAX
Hi all,



I'm currently implementing some AJAX features in my PHP-framework (which is b

Perplexing problem showing a .jpg
Please disregard..........I figured it out

Problems generating word documents on server side for security reasons
I have a problem with word documentation generation when generating a word document (docx) with PHP.

Is there something wrong?
Hi all,

Just a quick question... can someone look at this code and see if something is wrong?

Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points whi

[Need Help] php timing issues
I don't know what is going wrong. I need some help with being able to set an image at 9:00am Colorad

PHP & Images [Resize, Crop, Save]
Hey! Well I have a little dilema, hoping I could find some guidance.

I have a CMS and on the

PHP mail() with images
I'm trying to get images to send along with my HTML e-mail sent through PHP mail(). I only tried vie

Sequre login with cookies.
I want to build secure login with cookies. I just want your ideas about this, your suggestions. What

Web Application Recipe
Hi Guys!

I am working with the Web Application recipes. I am currently working on the sen

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