spsst!
Code:
function edititem Code:
function edititem($postitem,$value) |
BTW, this is why I would like to create an EQEMU mirror =)
Also to call that function while the array results with that function in it... such as... Code:
while ($somearray['ID'] > 0) |
Still need a fix for apostrophes though... they must be escaped or item names, etc. can get truncated which would be bad.
Great work on the optimizations, however!! |
can do a streplace for ' to ' But you'll have to do the sting replace in quotes instead of apostrophies =).
Something like str_replace("'","'") there should be some other perameters, yes but thats the gist of it. To make it safe, I'd also do another thats str_replace('"','"e;') to get rid of any escaping quotes =) |
Yeah but I'm too bad with PHP still to actually do it.
If anyone out there can fix this script up and then post it I know it would help a lot of people. It's VERY good. It just needs to not destroy item names if they contain an apostrophe. |
Quote:
This can also be done with the PHP command addslashes() on a per-command basis. |
hi guys, long time no speak. I just noticed loads of you had responded but i didn't even realise!
i'll take your notes and make some changes and release an update next weekend for the latest version take care inky |
hey all, went to work on this but was unable to find my backup. Can anyone paste a mirror?
Cheers |
Anyone have a current link to this file? Thanks!
|
I can host it too if someone would send it to me, would like to try it out myself
|
All times are GMT -4. The time now is 01:31 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.