Untitled diff

Created Diff never expires
The two files are identical
There is no difference to show between these two files
0 removals
19 lines
0 additions
19 lines
I was wondering if anyone can assist which a project I am working on.
I was wondering if anyone can assist which a project I am working on.
Very new to php though.
Very new to php though.
I currently have a membership form which captures details and the uploaded image which gets stored into a directory.
I currently have a membership form which captures details and the uploaded image which gets stored into a directory.
On the display page of the members details it echos the following:
On the display page of the members details it echos the following:
<?php echo "<img src=adminis/images/".$photo; ?>
<?php echo "<img src=adminis/images/".$photo; ?>
But most of the time members don't upload a image and now it just shows the "broken image link"
But most of the time members don't upload a image and now it just shows the "broken image link"
Since there is no entry in database so no image will display.
Since there is no entry in database so no image will display.
So I want it to pick up a default img in that directory when no image on membership form was uploaded.
So I want it to pick up a default img in that directory when no image on membership form was uploaded.
If anyone can assist I would appreciate it - or if more info is required let me know.
If anyone can assist I would appreciate it - or if more info is required let me know.
Thanks
Thanks