Exactly that what was happening I had
Now I assigned a $_GET ['id']; value and it now works
Now I am facing another issue.
The code below shows the shoe kind and below it the shoes of that kind appear padding-left:20px ten pixels more to the right than shoekind table so the users can see and identify the shoes by its kind.
the code below, hide the shoes inside the shoekind field and the shoes will only be visible if users click on the shoekind field. Once they click all the shoes comes to visibility and users will be able to choose what shoes they want. onto that point everything works good. But when I click in the shoe then it shows the shoes but the shoekind field hides all the shoes again instead of staying displaying the shoes under the shoekind field regardless the users clicked on one shoes under it. I want it to still displaying the shoes even though I click in one of the shoes, The code below hides shoekind display and just leave the shoes I picked from the shoekind field, hides the display menu and leave the users with content of the shoes available at the right side of t he windows where I set up the items or shoes to appear.
How can I arrange the coding so it display the shoes below the shoekind field and leave whether a users click on an item or not.
PHP Code:
echo "<ul class=\"shoecategories\">";
if ($shoekind["id"] == $sel_shoe['id']) {
while($rshoe = mysql_fetch_array($regularshoe_set)){
echo "<li";
if ($rshoe["id"] == $sel_shoe) {
echo " class=\"selected\"";
}
echo "><a href=\"shoe1.php?menu=" . urlencode($rshoe["id"]) ."\";>{$rshoe["shoename"]}</a></li>"; }
}
echo "</ul>";
Bookmarks