Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home2/itechies/public_html/dev/template2.php on line 204
Is it possible to call a php function by using a hyperlink onclick event? :
Ultra fast cheap  linux and windows hosting
    Search code samples  
 
  Keyword
 
 
 
   
 
 
  Code Samples
 
ASP
CSS
Dhtml
Html
Javascript
PHP
 
   
    's Home
 
 
Add faq
View faq
Modify Entry
Modify Profile
Change Password

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home2/itechies/public_html/dev/faq_left_inc.php on line 169
Subscribe
Logout
 
   
 
 

PHP >> General

Is it possible to call a php function by using a hyperlink onclick event?

Visitor Ratings (2) :

Description
The short answer is no.

PHP is a Server Side language and Javascript is commonly implemented as
a Client Side language.

The two usually cannot (and should not) meet.

That said, depending on what you want to do you could use AJAX to
better integrate your Javascript with your Server Side coding.

A good article I've found on the subject is here, however a google
search for AJAX will yield a wealth to explore.

http://www.phpbuilder.com/columns/kassemi20050606.php3
Code
Select All
 Rate this Resource
 
Home    Blog    Ajax    CSS    Hot scripts    Tips & Tricks    Webmaster Resources     Freelance jobs    Articles    Sitemap    Website builder and Cheap domain names    Lotus Notes FAQ    Our partners