PHP echo the fields

3 years 5 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.

3 years 5 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.

We also recommend

Twitter

sakicnet: Register into multiple groups with AJAX Register 3.8 https://t.co/oAt6IJJxQA 795 days ago from Twitter Web Client

Stay in touch