Here's the result of my problem:
Array ( [nav_create_title] => hel [nav_visible] => 1 [category_position] => 4 )
( ! ) Notice: Undefined index: category_postion in C:\wamp\www\tryitandbuyit\includes\category_create_process.php on line 7
Call Stack
# Time Memory Function Location
1 0.0010 370336 {main}( ) ..\category_create_process.php:0
Here's how I'm trying to assign and echo $_post.
print_r($_POST);
$category_pos = $_POST["category_postion"];
$nav_title=$_POST["nav_create_title"];
$nav_visible=$_POST["nav_visible"];
echo $nav_title;
echo $category_pos;
echo $nav_visible;
As you can see, it prints the correct value and name from the array... why the heck can't I assign or echo it?
Here is how I am sending it from the other page in a form (it used to be simple, but I've been trying every work around i can think of:
<?php
$result=mysql_query("SELECT * FROM category WHERE visible='1' ORDER BY position ASC");
$row=mysql_fetch_array($result);
$positionID=$row['position'];
$position=$row['position'];
$selectname= "Select A Position:<br />";
$selectname .= "<select name=";
$selectname .= "'category_position'";
$selectname .= ">";
echo $selectname;
$rownumber=mysql_num_rows($result);
$rownumber_temp=$rownumber+1;
For($i=1; $i<=$rownumber_temp; $i++)
{
echo "<option value= $i>" . $i . "</option></br>";
}
$selectname2 = "echo \"<br />\"";
$selectname2 .= "echo \"<br />\"";
$selectname2 .= "echo \"</select>";
echo $selectname2;