Hi guys,
This is related with my last question on 'Store data in PHP page' article.
However I saved that things in settings.php
Such as,
settings.php

<?php
//SITE URL
$url = "Sample.com;"

//SITE NAME
$sitename = "Sample LLC";
?>

I have included that settings.php file to index.php

But when I tried to get data from the settings.php

ie : it is displaying an error message call, Notice: Undefined variable: url in"
Please help me

Member Avatar for diafol

Show your code. Unclear.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.