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 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']} 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. Link to comment https://forums.phpfreaks.com/topic/251447-please-help-with-syntax/#findComment-1289595 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.