Entries tagged as: PHP

2011
06-16

howto make order form and check payment status in paypal

It's not so hard to do it if you have good example. Unfortunately it was hard for me to find good example. So I describe it here. (more…)
2011
01-26

New Theme

Today I create new wordpress theme for my site.
(more…)
2010
12-25

What empty foreach do in PHP

While ago I was fighting with one bug. There was code witch was working, but stop working when I add empty foreach.
  1. //that work with rest of code
  2. function fun(){
  3. $table= array();
  4. //...
  5. return $table;
  6. }
  7.  
  8. //that do not work with rest of code
  9. function fun(){
  10. $table= array();
  11. //...
  12. foreach( $table as $key => $val ){}
  13. return $table;
  14. }
  15.  
(more…)
2010
09-24

My old homepage

Today I take my old webpage and put it back to internet at psobieraj.peter-sobieraj.com. Maybe somebody will find it useful. Most parts of that page is in polish only. I was using that wepage to publish useful mathematics materials for friends during studies. (more…)