Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/03/2020 in all areas

  1. Simpler than you might think. The foreach loops through the array, giving you the key and value of each item in turn. For every item, you want to insert the Table Row construct. For the item where the key is "ct", you want to insert some extra "stuff". Try this: foreach( $arr as $k => $v ){ $x .= sprintf( '<tr><td> Td %s </td><td> Td %s</td></tr>', $k, $v ); if ( 'ct' === $k ) { $x .= $Insert_HTML_Here ; } } Regards, Phill W.
    1 point
  2. the form in the code at the top of this thread is not expecting a link to supply the value. it is expecting the value in - $_POST['id'] - and the reason for the posted form processing code to see an isset/non-empty value is because it is probably a php error message about an undefined index.
    1 point
This leaderboard is set to New York/GMT-04:00
×
×
  • 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.