PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm finding it difficult to add any new code in javascript or php to a large php prewritten application I'm trying to tweak I think I can work out how to tweak so I get to autosubmit a form but keep getting error messages when parsing code so can't get too much further yet. With the following code I've tried adding a line but get error- unexpected '=' I also notice a lot of slashes are being used at this part of the program Please might anyone be able to point out why I could be getting Unexpected 'item' messages so much when my code looks good or even copied from within the same program for example
By me having just added echo"hello"; I'm getting an error as follows: Parse error: syntax error, unexpected T_STRING ,just can't figure out why this might happen
Otherwise the application runs fine
Thanks this simple answer has solves all! I just found it difficult to reference also how a \ before quotes can effectively switch between html & php due to the way a string is being quoted