kaye Posted September 19, 2014 Share Posted September 19, 2014 Please help! how can i query data from different tables? I've tried so many codes already but it won't work. Quote Link to comment https://forums.phpfreaks.com/topic/291160-php-view-data/ Share on other sites More sharing options...
mac_gyver Posted September 19, 2014 Share Posted September 19, 2014 what have you tried? posting an image of your code is pointless on a programming help forum. we cannot read it and no one could copy/past any of it to point out things that are in error. Quote Link to comment https://forums.phpfreaks.com/topic/291160-php-view-data/#findComment-1491577 Share on other sites More sharing options...
jazzman1 Posted September 19, 2014 Share Posted September 19, 2014 After select statement, you should specify your select expression. Most often, it indicates a column that you want to retrieve. This is invalid sql syntax - select from.... More information can be found here. Quote Link to comment https://forums.phpfreaks.com/topic/291160-php-view-data/#findComment-1491584 Share on other sites More sharing options...
Barand Posted September 19, 2014 Share Posted September 19, 2014 This may help http://www.phpfreaks.com/tutorial/data-joins-unions Quote Link to comment https://forums.phpfreaks.com/topic/291160-php-view-data/#findComment-1491586 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.