|
Posted by Tim Van Wassenhove on 12/18/40 11:48
On 2006-05-23, Phil Latio <phil.latio@f-in-stupid.co.uk> wrote:
>
> "Geoff Muldoon" <geoff.muldoon@trap.gmail.com> wrote in message
> news:MPG.1edd53b5f57714e29897e1@news.readfreenews.net...
>> phil.latio@f-in-stupid.co.uk says...
>>
>> > <?php
>> > /* Script 2
>> > This script does not seem assign a value to $localhost
>> > Here is the contents of config.php without the open/close PHP tags.
>> > $host = "localhost";
>>
>> Maybe because you've called it $host not $localhost ??
>>
>> GM
>
> Yes, typical I've been looking at this for 2 hours and 5 mins after posting
> I spot my obvious mistake.
Just add the following lines to your scripts (or change your php.ini)
while you're developping: (It really does make you write less mistakes)
ini_set('error_reporting', E_ALL);
ini_set('display_errors', TRUE);
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
Navigation:
[Reply to this message]
|