[PHP] Mysql join and aliasing with mysql_fetch_object()

2001-08-02 Thread rkirk.com Mail
I'm using a query similar to: select tableA.*, tableB.* from tableA, left join tableB ON tableA.keyfield = tableB.keyfield When I then try to access the column "keyfield", after using mysql_fetch_object() e.g. $resultObject->keyfield I get no value returned. What is the correct way to

[PHP] urlencode

2001-03-17 Thread rkirk.com Mail
Help - I've a problem when using urlencode/decode functions (same with rawurl...). If I encode : mnemonic = "lnkphoto" I get: mnemonic+%3D++%22lnkphoto%22 And if decode it during the same script execution it converts back to exactly: mnemonic = "lnkphoto" which is what I'd expect. However, if I