Webform submission values with PHP
So I partly was able to access webform values. I still have a problem, that I cannot access to one single submission, altough I tried $sid = GET[sid] method. So here is my partly good code:

    //simple first section    
&lt;h1 align="center" style="font-family:verdana;" style="font-size:14;"&gt;&lt;b&gt;Registration&lt;b&gt;&lt;/h1&gt;&lt;br&gt;

&lt;p style="text-align:left; font-family:verdana; font-size:12;" &gt;&lt;b&gt;1. Registered Data:&lt;/b&gt;&lt;/p&gt;
&lt;p style="text-align:left; font-family:verdana; font-weight: normal; font-size:12;" &gt;[submission:values:personal_info:key]&lt;/p&gt;

&lt;p style="text-align:left; font-family:verdana; font-size:12;" &gt;&lt;b&gt;2.  Declaration:&lt;/b&gt;&lt;/p&gt;


&lt;?php
$submissions = webform_get_submissions(array('nid'=&gt;1));
foreach ($submissions as $submission){
foreach ($submission-&gt;data as $row=&gt;$data){
        if ($row == 4){
              if (in_array("0", $data)) {
                    print("long boring text content");
}}}}
?&gt;


So still not what I wanted but that is another question.