Hide item price if user is not logged in - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1) +--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3) +--- Thread: Hide item price if user is not logged in (/showthread.php?tid=71168) |
Hide item price if user is not logged in - chanceymwa - 07-15-2018 I wanna hide the price from unregistered and registered users that are not logged in my code I have used the same syntax to hide links as below and works perfect PHP Code: <?php but i seem not to get around nesting another if statement under another if statement.(brings a blank page ) anyone with an idea to resolve this PHP Code: <?php RE: Hide item price if user is not logged in - jreklund - 07-15-2018 You have syntax errors. You need a developing server with error logs and a PHP editor that support syntax. PHP Code: <?php RE: Hide item price if user is not logged in - chanceymwa - 07-16-2018 Thank i have used the syntax below and it working perfect PHP Code: <!-- testin code here --> RE: Hide item price if user is not logged in - InsiteFX - 07-17-2018 They should not see anything if that information doe's not belong to them. |