Ok and how do i use the var_dump thing to help me solve the problem i am having??
like in the example given. var_dump() echoes the content of a variable in such a way, that you know what it is (i.e. it also prints the data type (e.g. string, int, array, object) and even lists complex content (e.g. for arrays, it lists the keys and their associated values). an example output is given in the Manual Page.