Changeset 5921 for trunk/phpgwapi/inc/fpdf
- Timestamp:
- 04/11/12 17:21:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/fpdf/tutorial/tuto6.php
r2 r5921 48 48 $attr=array(); 49 49 foreach($a2 as $v) 50 if( ereg('^([^=]*)=["\']?([^"\']*)["\']?$',$v,$a3))50 if(preg_match('/^([^=]*)=["\']?([^"\']*)["\']?$/',$v,$a3)) 51 51 $attr[strtoupper($a3[1])]=$a3[2]; 52 52 $this->OpenTag($tag,$attr);
Note: See TracChangeset
for help on using the changeset viewer.