Jump to content


Check out our Community Blogs

murugavelb

Member Since 14 Nov 2011
Offline Last Active Nov 18 2011 01:35 AM
-----

Posts I've Made

In Topic: What is the usage of $$ in php ?

17 November 2011 - 11:41 PM

I got the answer with little confusion....
Actually here we use a value(Christine_Nothdurfter) of variable as a variable name($Christine_Nothdurfter).... But what is the use of it ?

Actual code:

<?php
error_reporting(E_ALL);

$name = "Christine_Nothdurfter";
// not Christine Nothdurfter
// you are not allowed to leave a space inside a variable name ;)
$$name = "'s students of Tyrolean language ";

print " $name{$$name}<br>";
print "$name$Christine_Nothdurfter";
// same
?>



Output :

Christine_Nothdurfter's students of Tyrolean language
Christine_Nothdurfter's students of Tyrolean language

In Topic: can u find the bug for me ?

15 November 2011 - 02:20 AM

First of all,thanks for ur reply....
ya its executed....
Since i'm a fresher,i dnt know how to display the data...

In Topic: HTML to xml conversion

14 November 2011 - 08:37 PM

Thanks for rly dude....
i simply create a new xml file and named it as *.xml and using FILE_PUT_CONTENTS function i stored that retrieved data into *.xml file. but it doesn't work properly.....

In Topic: Get data from a website

14 November 2011 - 07:45 PM

you can use PHP: preg_match - Manual and PHP: preg_match_all - Manual



Thanks for ur reply....

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download