I keep on getting a parse error
echo "<td>Welcome" . $user['client_fname']"</td>";
echo "<td>Welcome" . $user["client_fname"] . "</td>";
edit: Post your code in [ p h p ] code here [ / p h p ] (minus the spaces) when you post to this forum and the board will automatically do syntax highlighting for you; making it very easy to catch parse errors.
Cgraz
I'm still getting this error. The code looks ok right?
Parse error: parse error, expecting ','' or';'' in /usr/local/psa/home/vhosts/my.onefusion.com/httpdocs/portal/project/login.php on line 97
','' or
echo "<td>Welcome" . $user["client_fname"]"</td>";
oops....=p pls ignore
OK, I don't get it. What's wrong with that line of code?
Yes. I'm a newbie. :-)
The code needed another dot 😉
Find the difference:
echo "<td>Welcome" . $user["client_fname"]"</td>"; echo "<td>Welcome" . $user["client_fname"] . "</td>";
After $user["client_fname"] is another dot required, to print a 'non-variable' string.
Ahhhhh....
Thanky!