Timeline for Refactoring tips
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 3, 2013 at 19:45 | comment | added | Jacob S | @AjVillalobos -- Unfortunately, Code Review is not the correct location for your continued questions. In addition, many of your issues seem to be from a lack of understanding of the PHP language. I recommend that you spend additional time learning PHP, rather than hoping that the StackExchange community will eventually write and debug your code. Good luck! | |
Jul 3, 2013 at 18:10 | comment | added | Aj Villalobos | This is my new script currently not yet finished, just up until the parsing occurs. pastebin.com/Lkkpc3kx --- Now my problem is the function on parsing. This is what it looks like now, but when i print_r($table) it doesn't return something, even though i put a return $table=array() on the function here pastebin.com/GMG9FfFS | |
Jul 3, 2013 at 17:56 | comment | added | Jacob S | I would start by writing a single function that could be called during parsing for each array of items, which would return an array of (items[item]->plaintext) including any processing you wish to do, rather than multiple "foreach" loops. Then just continue simplifying. | |
Jul 3, 2013 at 17:47 | vote | accept | Aj Villalobos | ||
Jul 3, 2013 at 17:47 | comment | added | Aj Villalobos | Sir jacob, im currently doing this script. On number. I already made an if statement that if there no rows return then perform an INSERT, else UPDATE. Now on download/parse, how would i construct my function for it?. | |
Jul 3, 2013 at 17:40 | history | answered | Jacob S | CC BY-SA 3.0 |