Friday Photo Critique #44

Friday Photo Critique is our weekly community project, where we publish a photograph submitted by one of our wonderful readers, then ask you all to offer constructive feedback on the image. It’s a great way to learn more about photography, express your viewpoint, and have your own image critiqued!


Quick Ground Rules

  1. Play nice! We’ve deliberately chosen photographs that aren’t perfect, so please be constructive with any criticism.
  2. Feel free to offer any type of advice – composition, lighting, post-processing etc.
  3. You can also link to photographs that you feel offer a great example of this type of image shot exceptionally well.

Without further ado, here is this week’s candidate for Friday Photo Critique!


The Photograph

Photo Critique

Photographer: Igor Vilela Rotundo

Please let us know what you think in the comments – how would you have approached the scene or taken the photo differently? A massive thank you to everyone who commented last week.

The most constructive and helpful comments will be featured on the site. Interested in submitting your own photo? You can do so here!

The Problem with PHP’s Prepared Statements


PHP’s prepared statements (for database access) are fantastic. Not only do they help secure your database queries, but they’re also particularly more efficient for larger products. However, there are a couple issues that appear to make these methods less flexible than we’d hope. For one, we must utilize the bind_result method, and pass in a specific number of variables. However, what happens when this code is within a class, and we won’t immediately know how many variables to pass? Luckily, there’s a solution! I’ll show you what it is in today’s video tutorial.


Final Code

<?php

function read()
{
   $parameters = array();
   $results = array();

   $mysql = new mysqli('localhost', 'root', 'root', 'db') or die('There was a problem connecting to the database');
   $stmt = $mysql->prepare('SELECT body FROM posts') or die('Problem preparing query');
   $stmt->execute();

   $meta = $stmt->result_metadata();

   while ( $field = $meta->fetch_field() ) {

     $parameters[] = &$row[$field->name];
   }

   call_user_func_array(array($stmt, 'bind_result'), $parameters);

   while ( $stmt->fetch() ) {
      $x = array();
      foreach( $row as $key => $val ) {
         $x[$key] = $val;
      }
      $results[] = $x;
   }

   return $results;

}

$results = read();
?>
<!DOCTYPE html>

<html lang="en">
<head>
   <meta charset="utf-8">
   <title>untitled</title>
</head>
<body>
<?php foreach ($results as $row) : ?>

   <p> <?php echo $row['body']; ?> </p>
<?php endforeach; ?>
</body>
</html>

Cloud Web Hosting Template

Hello,

We are launching an entire new brand of our own proper cloud web hosting platform.

We are interested in creating a site that falls under the latest web 2.0 themes, the same theme will be used for our backend control panel (inhouse developed)

We need this to be done ASAP if possible, we need a coded homepage and a sub page, as you know, cloud hosting has not really plans but just a rate of usage ($x per ho.ur) therefore the design is a bit different.

How much and how fast would the following delivered:

Fully coded home page
Fully coded description page (ex: http://www.gigenetcloud.com/cloud-servers.html with the buttons as the tabs)
Fully coded blank page for text

We appreciate your fast reply. Please include “i read the desc.” in your reply with the portfolio to check that you read this.

Thanks!

Xhtml & Css Job

We have quite an urgent job we require doing.

Basically we want the content area of littlewoods.com cloned and made into our own, we would provide some images, text to replace their content.

You will then provide us with the xhtml and css/images so that we can add to our site.

Ideally would be done today/tonight

Need code to be clean without all the unused code I have got from trying to copy

Thanks

John

Seo Hospitality1

I need a programmer to work with me on SEO to optimize a Hospitality site for all the search engines this will include using Traffic Travis page analysis and Quality links from well respected hospitality English speaking countries. Submissions to .gov .edu Article directories and forums. The ability to spin articles, write content, update a Blog, give advise on google analytics and key words would be a plus.

Norton Internet Security 2010 1-User 3PCs

Norton Internet Security 2010 1-User 3PCs

Amazon.com

Norton Internet Security 2010 delivers fast and light comprehensive online threat protection. It guards your PC, network, online activities and your identity with innovative, intelligent detection technologies optimized to combat today’s aggressive, rapid-fire attacks. Improved Norton Safe Web technology blocks Internet threats before they can infect your PC. So you can browse, buy and bank online with confidence. It even warns you of unsafe web sites right in your se

Get It

Inground Pool Supplies

Data Scrapping

I want 1182 pattern products data to be scrapped from the website

http://pursepatterns.com/index.php?main_page=products_all&zenid=80267f0c46307ef48e6dd75a46be14d7

The data are required in excel as below :

1. Pattern Number (just a unique identifier for the record)
2. Pattern Name
3. Material needed
4. Image of the respective pattern : Either image in the field / or
the unique no. corresponds to the image in the folder you will
provide.
5. Instructions/Procedures — images are not required just the written instructions to sew the item
6. Skill Level (if available)
7. Author (if available)

You can do in any way either automatic or manaual but the data need to be 100% accurate.

Timeline : 2 days max.

Budget fixed.

Bid confidently.

Auto Vote

I’m looking for a script/program which can generate votes daily using unique IPs. This voting site disallows same IP and same day voting and it also has some data to be entered and a security check code. Prefer if you had done a similar project before and able to deliver within a day or so.