Sorry, I guess this is an html question.
yes, the error is php.
When the user clicks an image, I want it to pass which image
was selected to
$url = $_POST['url'];
switch($url)
{
case "firefight":
$filepath = "path\firefight.avi";
break;
}
Everything I read says VALUE can be used with...
I want the user to select which video to watch by clicking on the image.
This gives me an undefined index error. (url)
<INPUT TYPE="image" SRC="image\path" VALUE="firefight" NAME="url">
This works fine.
<INPUT TYPE="submit" VALUE="firefight" NAME="url">
Seems to me the first one should work...
9 hours on my own...now I just need a little push.
I intput a string array in the following format .... " 55-dave","32-bab",etc.
55 is the score from test
dave is name of test taker.
I can get "55" out of the string but I can't seem to get it converted to an int...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.