employee_profile SET MailFile= 'mail\\mhelmy'

Codes here !

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 12
Joined: Sun Jan 19, 2003 8:35 pm
Location: Canteen

Thu Jan 23, 2003 1:08 am

I cannot view the mailfile, even stripslahes and addslashes..
How to view the MailFile?

$shortName = $row['ShortName'];
$serverAddress = $row['ServerAddress'];
$mailFile = $row['MaiFile'];
echo $mailFile;

Nothing came out ...PLS help

User avatar
Joan Garnet
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars

Thu Jan 23, 2003 3:11 am

It should work...

Code: Select all

echo $row['MaiFile']; 

Are you keeping values in an array??
because then you'll have to use this:

Code: Select all

while ($row=mysql_fetch_array($result)){
  $shortName[] = $row['ShortName'];
  $serverAddress[] = $row['ServerAddress'];
  $mailFile[] = $row['MaiFile'];
echo "<pre>";
print_r ($mailFile);
echo "</pre>";

Does it help??

Post Reply