Hi,
I have a form loader where i display mu registered users:
example, in the custom code I put:
<td><?php echo $worldassemblyform3['Name']; ?></td>
<td><?php echo $worldassemblyform3['First_Name']; ?></td>
.....
if i add the field of the photo, I'll have only the path (it is normal since only the path of the photo is saved in the database ).
My question is how can I display the photo in this form?
thank you
I have a form loader where i display mu registered users:
example, in the custom code I put:
<td><?php echo $worldassemblyform3['Name']; ?></td>
<td><?php echo $worldassemblyform3['First_Name']; ?></td>
.....
if i add the field of the photo, I'll have only the path (it is normal since only the path of the photo is saved in the database ).
My question is how can I display the photo in this form?
thank you
Hi wissam.abdo,
You can usually convert a path to a URL like this:
Bob
You can usually convert a path to a URL like this:
<?php
$url = str_replace(JPATH_SITE.DS, JURI::root(), $path);
?>
Bob
but how can i use this script? (<?php
$url = str_replace(JPATH_SITE.DS, JURI::root(), $path);
?>)
my field named PHOTO, should i insert it AFTER this?
> </td></tr>
<tr><td><b><font color="darkred">List of registered users:</font></b></td></tr>
<tr><td><b>----------------------------------------------------------------------</b></td></tr>
<?php
foreach($form->data['worldassemblyform3'] as $worldassemblyform3):
?>
<tr>
$url = str_replace(JPATH_SITE.DS, JURI::root(), $path);
?>)
my field named PHOTO, should i insert it AFTER this?
> </td></tr>
<tr><td><b><font color="darkred">List of registered users:</font></b></td></tr>
<tr><td><b>----------------------------------------------------------------------</b></td></tr>
<?php
foreach($form->data['worldassemblyform3'] as $worldassemblyform3):
?>
<tr>
This topic is locked and no more replies can be posted.