Once you add in the values to your query, what’s the actual problem you’re having?
I’d really recommend you stop using the old mysql_
functions as you are doing in your getNewUUID()
function - they’ve been removed from PHP for quite a few years now, after being deprecated for many more. Use mysqli or, my preference, PDO instead.