Forums

Off Topic Chat Lounge Thread is sticky

Quick find code: 23-24-312-63626936

Poultrychamp
Nov Member 2023

Poultrychamp

Posts: 1,966 Mithril Posts by user Forum Profile RuneMetrics Profile
I plan to do a deep clean and work on some projects.

It's a long shot, but does anyone know why you can't put a variable inside an object in PHP5? It seems simple to me. The variable holds the string, and you reference it in the object. I can reference a plain string just fine between quotation marks, but it refuses a variable. It's driving me bonkers and I want to curl up in bed and cry.

It seems so simple. It's either a bug in the class or I'm a major idiot.
PoultryChamp :: @PoultryChamp
Your friendly web programming chicken. :: PsP Events

03-Oct-2014 02:57:00

Poultrychamp
Nov Member 2023

Poultrychamp

Posts: 1,966 Mithril Posts by user Forum Profile RuneMetrics Profile
Wilf said :
Well I can't help you but I'm fairly sure others can, just I don't think they are likely to check this section.

Yeah, unfortunately.

I checked the code and it did indeed look like a bug in the program. Well, sort of. It required an integer but didn't indicate that it required it. I changed my string to int and it worked!
PoultryChamp :: @PoultryChamp
Your friendly web programming chicken. :: PsP Events

03-Oct-2014 16:20:30

Quick find code: 23-24-312-63626936 Back to Top