what i'm doing wrong?

<?php if (isset($_SESSION['Username']=='axxxA')) {
echo '<form action="upload.php" enctype="multipart/form-data" method="POST">
    <input type="file" name="file" /><br /><br />
    <input type="submit" value="Upload" />
</form>';
                } else {
                    echo 'Trebuie sa fii logat ca axxxA pentru a modifica profilul.';
                }
                ?>
Re: code error 80 80

What's the error?

Re: code error 80 80

what error are you gettng? please give more details?

Re: code error 80 80

i get "Parse error: syntax error, unexpected T_IS_EQUAL, expecting ',' or ')' in /home/user/public_html/user/axxxA/index.php on line 74"

Re: code error 80 80

74 is right at start of the code

Re: code error 80 80
if (isset($_SESSION['Username']) and ($_SESSION['Username']=='axxxA'))
Re: code error 80 80

it works thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.