Changes between Version 10 and Version 11 of BossaExampleOne


Ignore:
Timestamp:
Feb 12, 2008, 11:47:15 AM (17 years ago)
Author:
Nicolas
Comment:

Add attribute quotes, at least on the attributes that could have non-name characters. Also fix a typo/bug on the PHP code.

Legend:

Unmodified
Added
Removed
Modified
  • BossaExampleOne

    v10 v11  
    136136function show_job($bj, $bji) {
    137137    $info = json_decode($bj->info);
    138     $img_url = $info.url;
     138    $img_url = $info->url;
    139139    echo "
    140         <form method=get action=bossa_example_display.php>
     140        <form method=get action='bossa_example_display.php'>
    141141        Click on the center of the ellipse.
    142142        If you don't see one, click here:
     
    144144        <input type=hidden name=bji value=$bji->id>
    145145        <input type=hidden name=completion value=1>
    146         <input type=image name=pic src=$img_url>
     146        <input type=image name=pic src='$img_url'>
    147147        </form>
    148148    ";