PHP Classes

File: usage.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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
Author: By
Last change:
Date: 6 years ago
Size: 607 bytes


Class file image Download

$expert = new expert_class("curl");

"<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