How to use the COM components in PHP?
Answers were Sorted based on User's Feedback
Use Following Code :
<?php
$objCom = new COM(“AddNumber.math”);
$result = $objCom ->AddTwoNum(2,2);
echo $result;
?>
| Is This Answer Correct ? | 6 Yes | 4 No |
Explain me what are the main error types in php and how do they differ?
What does == mean in php?
What is the maximum size of a database in mysql?
What is preg_match?
What the use of var_dump()?
Does php need a closing tag?
What are constructor and destructor in PHP?
List functions available to sort an php array?
How is it possible to cast types in php?
Explain some of the php string functions?
How to find a length of a string in php?
Write a PHP code to print following number pattern: 123 456 789