Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require "../includes/config.php";
- $VyberItem = mysql_query("SELECT * FROM t_08_camera_item WHERE UID = '".$_GET['id']."'");
- $NumItem = mysql_num_rows($VyberItem);
- /*if($NumItem == 0)
- {
- echo <<<HERE_DOC
- [ {optionValue: 0, optionDisplay: 'None'}]
- HERE_DOC;
- }*/
- //else
- //{
- /*$i = 0;
- echo <<<HERE_DOC
- [
- while($DataItem = mysql_fetch_array($VyberItem))
- {
- $i++;
- {optionValue: $i, optionDisplay: 'fdgd'}
- if($i != $NumItem){, }
- }
- ]
- HERE_DOC;*/
- if ($_GET['id'] == 2) {
- echo <<<HERE_DOC
- [ {optionValue: 0, optionDisplay: 'dfg'}, {optionValue:1, optionDisplay: 'Aztt'}, {optionValue:2, optionDisplay: 'Rictzu'}]
- HERE_DOC;
- }
- //}
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement