umutttttt wrote:
I have sent an email to "support at"
I hope it will clarify the issue.
Hi,
I've received your email.
If you do a view source of your page:
http://turkic.asia/index.php?option=com_content&view=article&id=1&Itemid=20&lang=tr
Did you notice that:
<form action method="post">
I looked at DirectPHP code. It's the same thing:
echo "<p><form action="" method=post>"...
Any particular reason for action=''? If action='', when the user clicks the submit button, it will usually just reload the same page. Guess that's why you did not see any search result.
By the way, looking at what you want to do, I would strongly encourage you to create a new component to do this, instead of using DirectPHP to embed PHP codes into a content item. It will be much cleaner, and easier to debug and maintain in the future.
Regards,
/kksou
p.s. I usually advice people using DirectPHP that they should first make sure that the code tested ok running standalone first, before embedding the code inside the content item with DirectPHP. This is because when it's embedded, it's relatively difficult to debug the codes.