how to ... Say hello to user how to ... Say hello to user
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

how to ... Say hello to user

Started by neeth, July 07, 2005, 04:11:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

neeth

I wont to make one table when member come to page that it say "hello (usernick)"

what to add in

starttable('80%');
echo '<tr>';
echo '<tr><td class="tableb" >';
echo " :: hello (usernick) ::<br>\n";


endtable();

?

thn for any helo
[

Joachim Müller

try<?php
starttable
('80%');
echo 
'<tr>';
echo 
'<tr><td class="tableb" >';
echo 
" :: hello ';
echo USER_NAME;
echo ' ::<br />';
echo '</td>';
echo '</tr>';
endtable();
?>

neeth

i try how you say, and try to incude this

<?php



define('IN_COPPERMINE', true);



require('include/init.inc.php');

require('include/smilies.inc.php');



pageheader('Information');



starttable('80%');
echo '<tr>';
echo '<tr><td class="tableb" >';
echo " :: hello ';
echo USER_NAME;
echo ' ::<br />';
echo '</td>';
echo '</tr>';
endtable();

pagefooter();
?>


and no luck


Parse error: parse error, unexpected $ in /home/neeth/public_html/galerija/test.php on line 30
[

Nibbler

echo " :: hello ';

Should read

echo ' :: hello ';

neeth

[