PHP Code Snippets Tagged with add
(3)
besides the basic calc functions (+-*/) this can also do abbreviations for numbers ex:
calc("1m+3k-2") will return "1002998"
calc("1.1m+1m") will return "2100000"
calc("1.5*2")..
Working with simpleXML. 2 functions for looping through XML-files.
formatSortGallery: deletes empty attributes and sort the others
addPrice: adds single attribute to each XML
ok, its alot like Hawkee.com's snippet but its 100% purely mine.
i'm 100% sure it works BUT i made this without mysql so i dunno if it will work. stupid mysql is stuffing up
there is an upload.php..