Hi everybody,
First of all, sorry if my question was already answered somewhere, but I can't find out how to resolve my problem .
So, I'm a beginner in PHP programmation and for my studies, I have to write a page which read information from an other address and display it.
But when I open my page, I see nothing and when I look at the source code, I see that my php code is commented.
So, could anyone please tell me what I've missed ?
Thank you very much for all the help you can provide me.
ps: Sorry for my english, I'm french
First of all, sorry if my question was already answered somewhere, but I can't find out how to resolve my problem .
So, I'm a beginner in PHP programmation and for my studies, I have to write a page which read information from an other address and display it.
Code:
<?php
$adresse = "[URL]http://www.casablanca-technopark.ma/detail_ese.asp?ID=56[/URL]";
$page = @file_get_contents ($adresse);
echo "$page <br>";
?>
But when I open my page, I see nothing and when I look at the source code, I see that my php code is commented.
So, could anyone please tell me what I've missed ?
Thank you very much for all the help you can provide me.
ps: Sorry for my english, I'm french