graham23s Posted January 24, 2010 Share Posted January 24, 2010 Hi Guys, I'm having trouble with a bit of syntax: if ((!empty($_POST['twitUser']) && !empty($_POST['twitPass'])) Is the proper way to put () around both !empty fields or () around the whole code? thanks guys Graham Link to comment https://forums.phpfreaks.com/topic/189616-syntax-error/ Share on other sites More sharing options...
wildteen88 Posted January 24, 2010 Share Posted January 24, 2010 You have an extra ( at the start of your statement if ((!empty($_POST['twitUser']) && !empty($_POST['twitPass'])) Link to comment https://forums.phpfreaks.com/topic/189616-syntax-error/#findComment-1000772 Share on other sites More sharing options...
graham23s Posted January 24, 2010 Author Share Posted January 24, 2010 ah thanks mate. Graham Link to comment https://forums.phpfreaks.com/topic/189616-syntax-error/#findComment-1000774 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.