the test

posted by Mc on 2001-04-08 23:26:20

Well, it didn't work at first, of course :-)

Two stupid mistakes, one was a missing $ (which is common when you usually code in C, not PHP), the other was that I used $result[$i]["fieldname"] instead of $result->data[$i]["fieldname"]. This took a bit longer to find, but now everything works A-OK. This means I can also add the 'update story set generate=0' at the end of the generation-script :-)

Code

Examples and thoughts

I write a lot of code and sometimes I have something to say about it, or some code snippet that might be useful to others.