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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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

[