PHP echo the fields
- royhimself
- Topic Author
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
7 years 7 months ago #7810
by royhimself
Hello,
I have an external order form and i want to pull the userdata from Joomla. So far everything is working great. But I dont know how to pull the custom ajax fields?
Can you help me?
I have an external order form and i want to pull the userdata from Joomla. So far everything is working great. But I dont know how to pull the custom ajax fields?
Can you help me?
<?php
define( '_JEXEC', 1 );
define('JPATH_BASE', dirname("----") );//this is when we are in the root
define( 'DS', DIRECTORY_SEPARATOR );
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
$mainframe =& JFactory::getApplication('site');
$mainframe->initialise();
$user = JFactory::getUser();
echo '<pre/>';
print_r($user);
?>
<?php echo $user->username; ?>
HERE I WANT TO ECHO THE CUSTOM FIELDS
<?phph echo$ ajax -register streetname >?
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
7 years 7 months ago #7812
by Saka
Emir Sakic
www.sakic.net
Please see
www.sakic.net/support/faq/ajax-register/#q10
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.