As hamster suggested you need to use an exec() function. Query function is used to return from your DB. I cannot help you as I come from a PDO background.
In future use try catch for error handling. Also what you are doing in your code makes it prone to sql injection. You can visit...
Yes, this is true and I have been a victim of it. Did my electronics diploma a while back. The practicals require a mentor (industry professional) to assist. My friend and I received help from the same mentor, so our answers were pretty much the same. He received a distinction, while I just...
Not really in the web/software dev field, but I work on after hours projects (mainly web and game dev). These are my specs:
i7 2630 QM CPU @ 2.00 GHZ
4GB RAM
Radeon HD 6770M (Total of 2789 MB)
684GB Total Primary Hard Disk
Haven't had a problem so far.
I'm currently building a web app which requires the user to login from another website before logging into my own website (an authentication system). I was planning on using OAuth 2.0, but not too sure if it would be possible (or overkill). Basically, as an example this is the process I wish to...