Page 2 of 2

Posted: Thu Jul 20, 2006 10:51 am
by RobertGonzalez
Try my code again. I noticed that there was a concatenation issue that I fixed at about the same time as you grabbed it. Try it again and see.

Posted: Thu Jul 20, 2006 11:03 am
by Assured99
Everah wrote:Try my code again. I noticed that there was a concatenation issue that I fixed at about the same time as you grabbed it. Try it again and see.
What is a concatenation Issue ???

But i have to say you two have been all my help through this transition to the world of PHP hopefully after i finish my class fall semester i will be able to help th enoobs like myself with stupid questions.

Thanks again guys

Posted: Thu Jul 20, 2006 11:05 am
by RobertGonzalez
These lines...

Code: Select all

require $abs . '/secure/config.php';
Were originally written as...

Code: Select all

require '$abs/secure/config.php';
Before I corrected them but after you copied them.

Posted: Thu Jul 20, 2006 11:06 am
by Assured99
so the . will seperate the Variable from the 'path'?

Posted: Thu Jul 20, 2006 11:10 am
by Luke
the dot will seperate strings from other strings

concatenation

Posted: Thu Jul 20, 2006 11:11 am
by RobertGonzalez
Yes, a dot can be used as a concatenator, or joiner of things. As an example...

Code: Select all

<?php
$string1 = 'This is a string';
$string2 = 'This is another string';

echo $string1 . ' and ' . $string2;

// Outputs:
// This is a string and This is another string
?>