How to accommodate the rows of my table? |
Help, I feel it is a fairly simple problem, but I can't find error, can you help me?
In this part where I realize the filling of the table of the bottom Code: <?php if( !empty($obtenOperacion)) {
What is it that you are trying to do? Create table columns within a row? I have more questions but I will start with these two first. It also looks like you are missing the beginning <tr> for the table row.
Maybe this will help:
PHP Code: <tr> There were some <?php echo statements that were not closed with ; <?= is short hand for <?php echo You can echo html code with php. Usually, I try to avoid it too, but within a table, your code gets really cluttered when you separate html from php. For readability, I use spaces around the operators, like: if ($a == $b).
Does it get cluttered, really?
No. PHP Code: <table> (12-15-2016, 01:54 PM)php_rocs Wrote: What is it that you are trying to do? Create table columns within a row? I have more questions but I will start with these two first. It also looks like you are missing the beginning <tr> for the table row.It's a table first columns are personal data, second part it's about operations for employee, if I I want to create cells within row, If I leave it with the foreach without conditional repeats the data of all the employees, I put the condition and cause me this problem. This information is part of the tr. Thank u. (12-17-2016, 04:18 PM)enlivenapp Wrote: Does it get cluttered, really? Yeah, I have this problem but I can't solve,v I need align operations accord the list in top part (12-16-2016, 02:38 AM)Wouter60 Wrote: Maybe this will help:I try to avoid it too, but I can not find a way to do it, I feel that it's a little problem but I don't know and thank u |
Welcome Guest, Not a member yet? Register Sign In |