Jump to content

techker

Members
  • Posts

    812
  • Joined

  • Last visited

Everything posted by techker

  1. Hey guys i have a products site and i put an edit product page , i need to put in a form of select box the database info but highlight the result in the table.. ok so lets say product car name id type brand ---> select box to edit the brand (select * from Brands) but incase he does not want to change that info i need the default to be the info stores already? brand Honda -->select box highlight Honda this is the select i have div class="form-group"> <label for="exampleInputName2">Brand : <? echo $row['Brand'] ?></label> <select name="Brand"> <?php while ($row2 = mysqli_fetch_array($result2)) { echo "<option value='".$row2['Name']."'>".$row2['Name']."</option>"; } ?>
  2. interesting. thx for the info i will read up on it.
  3. so the output would be $string = ".echo row['description'];."; echo nl2br($string);
  4. Hey guys i have a for to upload for a car dealership i did ,in the form there is a text box for descrption. the guy wants to be able to insert a description like: ........................... this is a car test .features one .features 2 ....... this car is fully equipeed... .......................... but now the form insert in the database all messt up it becomes one text... is there a way to insert it in the database as he puts it?
  5. ya i found a way to install apache server in it and access it remotly.but the gpio is not activating..will figure that part..thx!
  6. i sent out a request .. in the cpanel i only have basic php ini values that i can mod....
  7. i don't think i have access...i will check the cpanel to see
  8. Hey guy's i doing a Rasperry Pi garage door app and got this code in a tutorial: $q=$_GET["q"]; if(isset($_GET['q']) && $_GET['q'] == 1) { error_reporting(E_ALL); exec('gpio write 7 0'); usleep(1000000); exec('gpio write 7 1'); echo" garage is Open"; } i modified it to return a response. but i get an error file from server PHP Warning: exec() has been disabled for security reasons in /home/techker/public_html/Garage/getcd.php on line 15 is there an alternative or way around this ?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.