Search found 3 matches

by KevenM
Thu Sep 18, 2008 11:24 am
Forum: PHP - Code
Topic: Simple Question on Syntax
Replies: 4
Views: 302

Re: Simple Question on Syntax

Thanks for all the help everyone I'm still having trouble, I suspect with this line: $img = returnImage("image_user_uploaded(if_any).jpg", "images/"); Specifically, if I put in temp.jpg or image_user_uploaded(if_any).jpg or whatever.jpg as the name changes with each listing. Ever...
by KevenM
Thu Sep 18, 2008 10:32 am
Forum: PHP - Code
Topic: Simple Question on Syntax
Replies: 4
Views: 302

Re: Simple Question on Syntax

I somewhat understand a little about what you wrote there, but I'm unsure which parts I'm supposed to substitute with my path and image name

Thanks again for the prompt reply
by KevenM
Thu Sep 18, 2008 8:00 am
Forum: PHP - Code
Topic: Simple Question on Syntax
Replies: 4
Views: 302

Simple Question on Syntax

I have zero training with PHP, rather choosing to cut and paste various functions that I see in code when I need to modify an existing file. In this case, I'm trying to set up a function where if a user did not upload a picture $img , then a placeholder image is put in place instead. This is the cod...