lingo5 Posted November 19, 2011 Share Posted November 19, 2011 Hi, I'm trying to redirect like this: header("Location: PC_images_display.php?imagenupdated=true&id_categoria = $row_images_update_RS['id_categoria']"); } but the variable $row_images_update_RS['id_categoria'] is being passed and causes a 500 error...I know it must be a syntax error ut I can't figure it out... Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/251447-please-help-with-syntax/ Share on other sites More sharing options...
Pikachu2000 Posted November 19, 2011 Share Posted November 19, 2011 Try enclosing the array element in curly braces. {$array['index']} Quote Link to comment https://forums.phpfreaks.com/topic/251447-please-help-with-syntax/#findComment-1289593 Share on other sites More sharing options...
lingo5 Posted November 19, 2011 Author Share Posted November 19, 2011 yep...it works thanks a lot. Quote Link to comment https://forums.phpfreaks.com/topic/251447-please-help-with-syntax/#findComment-1289595 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.