Help with PHP [Paypal payment]

10/01/2016 23:37 SwagBack#1
Hello everybody!

I am looking for someone experienced in PHP who can fix a little error I have in my current PHP script.

The reward for solving this problem is 3$ via Paypal :)

Here is my Problem:

My Website is currently coded like this:

Code:
[I]html
html
html
php[/I]
So you can see I have some HTML and then in the end there is my PHP script running. The Problem: my php script is also generating content in the middle of the site so I would need my code to look like this:

Code:
[I]html
html
php
html
[/I]
So I can have my footer and stuff below my php script.

The Problem is, that my PHP script is causing any HTML below the php script itself to disappear for the time my code is running!

Here is my PHP script:

Code:
      echo '<li class="list-group-item list-group-item-info">Starting to gather data!</li>';
      ob_flush();
      flush();
      $url = $unsplash;
      $cmd = $unsplash . ' - ' . $amount;
      exec($cmd);
      echo '<li class="list-group-item list-group-item-success">Gathering Data Completed</li>';
      ob_end_flush();
So for example if I have something like: <h1>Hello</h1> below my script it just isnt there when I start my script, but it reappears when the script finishes.

Useful Link: [Only registered and activated users can see links. Click Here To Register...]

The Person that solves that problem gets 3$ Paypal from me!

Thank you :)
10/03/2016 19:22 KingDingD0ng#2
I might help you.

Contact me in skype

Greetz