IT Community - Software Programming, Web Development and Technical Support

when i load the tpl file using ajax it displays question mark(?) for   .How to o

This is a discussion on when i load the tpl file using ajax it displays question mark(?) for   .How to o within the PHP Programming forums, part of the Web Development category; when i load the PHP file in smarty format(tpl) using ajax it displays question mark(?) for   .How ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-02-2007, 03:32 AM
ramkumaraol ramkumaraol is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 98
ramkumaraol is on a distinguished road
Default when i load the tpl file using ajax it displays question mark(?) for   .How to o

when i load the PHP file in smarty format(tpl) using ajax it displays question mark(?) for   .How to overcome it?

Last edited by ramkumaraol : 08-03-2007 at 01:22 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-03-2007, 03:11 AM
vivekanandan vivekanandan is offline
D-Web Trainee
 
Join Date: Jul 2007
Posts: 41
vivekanandan is on a distinguished road
Default Re: when i load the tpl file using ajax it displays question mark(?) for   .How

hi,
just code the business logic in a separate tpl file and call this smarty function
which return the output as a string.

$vStr = $oSmarty->fetch('Logic.tpl');
echo $vStr;

Regards,
Vivekanandan.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any way to Call or Load a page from the Class File?(Question) kingmaker C# Programming 1 02-27-2008 09:38 PM
Question regarding file transfer! joshua_Thomas Database Support 1 02-15-2008 09:56 PM
Question and answers for the load runner! devarajan.v Testing Tools 72 02-01-2008 02:49 AM
Ajax Interview Question Sundaram C# Programming 15 12-03-2007 10:41 PM
How to Upload a file using Ajax? ramkumaraol PHP Programming 1 08-06-2007 08:58 AM


All times are GMT -7. The time now is 07:23 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0