PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Every single value passes except for message id. I changed the name of the mes_id field to something I knew for a fact was not being used to see if it was being over written. If I post it back on this test page it passes the value, but when passed to index.php it never passes, no matter what it is named. Does anyone have any idea what could cause this?
And for those that find this later on via searching: a good way to discover what's going on with your sent variables is by using a function such as print_r() to investigate in place of any actual processing.
<?php
/**
* Prints a cleanly formatted variable dump
* @access public
* @param mixed $var The variable to investigate
* @return void Outputs the formatted variable information
*/
function clean_dump($var)
{
echo '<pre>';
var_dump($var);
echo '</pre>';
}
?>
You could always include this function in a core include file and then use it as needed for debugging or getting information.