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;
Did you know?Explore Trending and Topic pages for more stories like this.
$cat = "Molly";

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

Is there anyway around this?
No comments posted yet

Your Answer:

Login to answer
337 Like 28 Dislike
Previous forums Next forums
Other forums

Not Loading Function Into Div
I'm not sure whether to put this under the php forum or ajax forum but because I tink it's more of a

MS Access data into a html table
Hi everyone, I am quite a novice at php but I have created some helpful scripts that fetch data
f

switch not getting value
what am i doing wrong?
i want to populate the country list according to the category
i want to

help finding hacking loopholes
i was attacked by a redirect php injection

my pc is clean of viruses

so i figure that

Prevention Help
How can I use PHP or any other language (feel free to move this thread) to prevent users doing scree

phpmailer class & pop.gmail.com?
Code: <?php
$mail->IsSMTP();
$mail->Host = "pop.gmail.com";

SAP Business Suite
Hi all:

Within the SAP Business Suite solution I would like to ask you the main differenc

IIS on 2003 anon access disabled issue
I have an IIS server that belongs to a domain, and anonymous access is turned off for all my sites.

php code to accept and delete incoming data
Using following HTML Code please show me how to write PHP code to accept and delete the incoming dat

Implementing Single Sign-On using SAML 1.1, x.509, LDAP in C#.net
Hi, I got a requirement from the client i.e implementing single sing on using SAML 1.1( LDAP &

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