Commit 3e717a2b authored by Joshua Thijssen's avatar Joshua Thijssen

Small fixes in example files

parent ad6bcdbc
...@@ -15,7 +15,7 @@ $ping = $client->createPing(); ...@@ -15,7 +15,7 @@ $ping = $client->createPing();
// execute the ping query // execute the ping query
try{ try{
$result = $client->ping($ping); $result = $client->ping($ping);
echo 'Ping query succesful'; echo 'Ping query successful';
echo '<br/><pre>'; echo '<br/><pre>';
var_dump($result->getData()); var_dump($result->getData());
}catch(Solarium_Exception $e){ }catch(Solarium_Exception $e){
......
...@@ -26,7 +26,7 @@ if ($_POST) { ...@@ -26,7 +26,7 @@ if ($_POST) {
// this executes the query and returns the result // this executes the query and returns the result
$result = $client->update($update); $result = $client->update($update);
echo '<b>Update query executed<b><br/>'; echo '<b>Update query executed</b><br/>';
echo 'Query status: ' . $result->getStatus(). '<br/>'; echo 'Query status: ' . $result->getStatus(). '<br/>';
echo 'Query time: ' . $result->getQueryTime(); echo 'Query time: ' . $result->getQueryTime();
......
...@@ -28,7 +28,7 @@ $update->addCommit(); ...@@ -28,7 +28,7 @@ $update->addCommit();
// this executes the query and returns the result // this executes the query and returns the result
$result = $client->update($update); $result = $client->update($update);
echo '<b>Update query executed<b><br/>'; echo '<b>Update query executed</b><br/>';
echo 'Query status: ' . $result->getStatus(). '<br/>'; echo 'Query status: ' . $result->getStatus(). '<br/>';
echo 'Query time: ' . $result->getQueryTime(); echo 'Query time: ' . $result->getQueryTime();
......
...@@ -16,7 +16,7 @@ $update->addCommit(); ...@@ -16,7 +16,7 @@ $update->addCommit();
// this executes the query and returns the result // this executes the query and returns the result
$result = $client->update($update); $result = $client->update($update);
echo '<b>Update query executed<b><br/>'; echo '<b>Update query executed</b><br/>';
echo 'Query status: ' . $result->getStatus(). '<br/>'; echo 'Query status: ' . $result->getStatus(). '<br/>';
echo 'Query time: ' . $result->getQueryTime(); echo 'Query time: ' . $result->getQueryTime();
......
...@@ -16,7 +16,7 @@ $update->addCommit(); ...@@ -16,7 +16,7 @@ $update->addCommit();
// this executes the query and returns the result // this executes the query and returns the result
$result = $client->update($update); $result = $client->update($update);
echo '<b>Update query executed<b><br/>'; echo '<b>Update query executed</b><br/>';
echo 'Query status: ' . $result->getStatus(). '<br/>'; echo 'Query status: ' . $result->getStatus(). '<br/>';
echo 'Query time: ' . $result->getQueryTime(); echo 'Query time: ' . $result->getQueryTime();
......
...@@ -15,7 +15,7 @@ $update->addOptimize(true, false, 5); ...@@ -15,7 +15,7 @@ $update->addOptimize(true, false, 5);
// this executes the query and returns the result // this executes the query and returns the result
$result = $client->update($update); $result = $client->update($update);
echo '<b>Update query executed<b><br/>'; echo '<b>Update query executed</b><br/>';
echo 'Query status: ' . $result->getStatus(). '<br/>'; echo 'Query status: ' . $result->getStatus(). '<br/>';
echo 'Query time: ' . $result->getQueryTime(); echo 'Query time: ' . $result->getQueryTime();
......
...@@ -15,7 +15,7 @@ $update->addRollback(); ...@@ -15,7 +15,7 @@ $update->addRollback();
// this executes the query and returns the result // this executes the query and returns the result
$result = $client->update($update); $result = $client->update($update);
echo '<b>Update query executed<b><br/>'; echo '<b>Update query executed</b><br/>';
echo 'Query status: ' . $result->getStatus(). '<br/>'; echo 'Query status: ' . $result->getStatus(). '<br/>';
echo 'Query time: ' . $result->getQueryTime(); echo 'Query time: ' . $result->getQueryTime();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment