Login   Register  
PHP Classes
elePHPant
Icontem

File: usage.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Abhinaba Basu  >  Experts Exchange Fetcher  >  usage.php  >  Download  
File: usage.php
Role: Example script
Content type: text/plain
Description: Read this file to know how to use the Class
Class: Experts Exchange Fetcher
Search for questions in experts-exchange.com
Author: By
Last change:
Date: 5 years ago
Size: 607 bytes
 

Contents

Class file image Download
<?php
include("expert_class.php");

$expert = new expert_class("curl");


echo 
"<br /><b>Question Title</b><br />".$expert->question_title// Title of the best matched question
echo "<br /><b>Question Body</b><br />".$expert->question_body//Full body of the question(without snippet)
echo "<br /><b>Question Code Snippet</b><br />".$expert->questioncodesnippet//Question code snippet
echo "<br /><b>Accepted Solution</b><br />".$expert->ans_body//Full body of the accepted solution(without snippet)
echo "<br /><b>Code Snippet</b><br />".$expert->anscodesnippet//Answer code snippet

?>