PHP echo the fields

6 years 11 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?
<?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.

6 years 11 months ago #7812 by Saka

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch