PHP variable reference problem

  • Pbpixels
  • Novice
  • Novice
  • User avatar
  • Posts: 17

Post 3+ Months Ago

Hello.
I have this little piece of code:
PHP Code: [ Select ]
$pbprirest_container = 'pri' . $count;
$pbafdrag_container = 'afd' . $count;
  1. $pbprirest_container = 'pri' . $count;
  2. $pbafdrag_container = 'afd' . $count;


HTML Code: [ Select ]
<td><input type="text" size="14" id="ult<?php echo $count; ?>" name="ult<?php echo $count; ?>" value="<?php if (isset($pbterminer)) {echo $pbprirest_container - $pbafdrag_container;} ?>" /></td>


What I need is that when I type something in the table, it should be put into a variable like $pbprirest_container = 'pri'.
It doesn't really work this way. Any ideas?

Thanks in advance
- Pbpixels

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: Bill_Thompson and 84 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.