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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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

[