Jump to content

[SOLVED] If ya got time plz help, Error message not working correctly


PHP Nubsauce

Recommended Posts

This is what I have -

 

if (mysql_query($sql)) { } else { ?>

    <p class="text">Error: <?php echo(mysql_error()); ?></p>

<?php } }

else { ?>

  <p class="text">Error: You have not selected a document to upload.</p>

  <?php } } ?>

 

this is what I get, even though the items are uploading correctly -

 

Error: You have not selected a document to upload.

 

Can anybody help? I'm new to this =p

 

Thanks,

 

Nubsauce.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.