| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| DesignersTalk > Need help with converting PHP5 code to PHP4 |
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) | |
|
i love MUJI
|
Need help with converting PHP5 code to PHP4
I'm not a programmer but a job at hand requires me to build something like a shopping cart with Ajax so I read some tutorials and got my hands dirty with Prototype. Nothing wrong with the JS but the PHP that is returning the results seems to be written in PHP5 so it doesn't work on my server (which has PHP4). PHP Code:
The error displayed: Quote:
Line 6 is where it says private $cart I hope someone can be kind enough to show me how to turn the class into PHP4 code. |
|
|
|
|
![]() |