employee_profile SET MailFile= 'mail\\mhelmy'

Codes here !

Moderators: macek, egami, gesf

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

employee_profile SET MailFile= 'mail\\mhelmy'

Postby Pakcik_Kantin » 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
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Postby Joan Garnet » 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??


Return to “mySQL & php coding”

Who is online

Users browsing this forum: No registered users and 0 guests