www.webdeveloper.com

Search:

Type: Posts; User: stepbystep

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. radio button not selected based on db value

    I want to display the value from the db in radio button. If in db the category is Burger, then radio button for Burger will be selected.

    Here are my php code:



    function renderForm($MenuID,...
  2. Why are the value doesn't calculate when button press

    hye..

    i'm trying to calculate value of balance by substract cash to total. But nothing happen.

    here is my code:


    <script type="text/javascript">

    function substract(){
  3. calculator doesn't substract value and total can't be retrieve

    what my outcome is to retrieve value from database when user pick an id from dropdown box into the amount textbox. then, user will insert the cash value. finally press button equal to subtracts the...
  4. thank you. it works.

    thank you. it works.
  5. why can't the empty upload file detect as error?

    I try to do validation on the upload file. everything works but it can't detect that if the file is empty. if the file is empty, then it should be error and can't save to db.

    here are my coding:
    ...
  6. Replies
    12
    Views
    2,363

    hye. i really thank you for that who give...

    hye.

    i really thank you for that who give respond and help me.
    Now i manage to save in database. however, only the last menu is insert into db.

    to get a clear picture. Here i have attach an...
  7. Replies
    12
    Views
    2,363

    ok. maybe i misunderstand.. 1st of all here...

    ok. maybe i misunderstand..

    1st of all here are my first page(menuform.php):



    <?php
    session_start();
    $tableid = $_SESSION['q'];
    echo "$tableid";
  8. Replies
    12
    Views
    2,363

    yes..i'm really sure. I really need to save the...

    yes..i'm really sure. I really need to save the value of the session in the db. i search on google but the result is to used session_set_save_handler. i don't understand as the isn't any coding in it...
  9. Replies
    12
    Views
    2,363

    yup. I put it at the page ListMenu.php

    yup. I put it at the page ListMenu.php
  10. Replies
    12
    Views
    2,363

    this what i get if i put the code you told: Array...

    this what i get if i put the code you told: Array ( [orderlist] => Done )

    can you explain what does it mean? I'm really new in php and still learnig. Hope you can help.
  11. Replies
    12
    Views
    2,363

    i have change the code, but it still error for...

    i have change the code, but it still error for name,price,qty,subtotal and total. Can you help me to tell where should i change?

    here the code:



    <?php

    include("connection.php");...
  12. Replies
    3
    Views
    1,002

    I've done what you told me to.. Here are the...

    I've done what you told me to..

    Here are the latest code:


    <?php

    include("connection.php");
    session_start();
    $tableid = $_SESSION['q'];
  13. Replies
    3
    Views
    1,002

    sorry, i forgot to include the error.. here...

    sorry, i forgot to include the error..

    here are the error:
  14. Replies
    3
    Views
    1,002

    error submit session value into db

    Hye..

    I really need someone to help me to solve the error please..

    here are the code:



    <?php
  15. Replies
    12
    Views
    2,363

    ohw..really. I get confuse because there are db...

    ohw..really. I get confuse because there are db interaction. the button is already button submit.
  16. Replies
    12
    Views
    2,363

    can't post data to database

    Here are my coding of page of preview order:



    if ($order) {
    $items = explode(',',$order);
    $contents = array();
    foreach ($items as $item) {
    $contents[$item] =...
  17. Replies
    12
    Views
    1,377

    thanks so much.. I learn new things today. but...

    thanks so much.. I learn new things today.
    but can i ask one more question..why are the total is undefined although it manage to display on the page. plus where should i put the code .toFixed(2) so...
  18. Replies
    12
    Views
    1,377

    thanks..now the price appear.. but it seem to...

    thanks..now the price appear..
    but it seem to call all the data in the row of db
    here what it shows:

    array(12) { [0]=> string(2) "19" ["MenuID"]=> string(2) "19" [1]=> string(5) "Drink"...
  19. Replies
    12
    Views
    1,377

    for your information.. the data are retrieve when...

    for your information.. the data are retrieve when user click the link in this page:

    the codes:



    <?php

    $q=$_GET["q"];
    include("connection.php");
  20. Replies
    12
    Views
    1,377

    i've done what u told..however this error came...

    i've done what u told..however this error came up: bool(false)
  21. Replies
    12
    Views
    1,377

    hm..I'm sorry. I don't understand. can you give...

    hm..I'm sorry. I don't understand. can you give an example so i can get a picture of it.. thanks
  22. Replies
    12
    Views
    1,377

    Thanks.. i already change into this code: ...

    Thanks..

    i already change into this code:



    $output[] = '<tr>';
    $output[] = '<td><a href="previeworder.php?action=delete&MenuID='.$MenuID.'" class="r">Remove</a></td>';
    $output[] =...
  23. Replies
    12
    Views
    1,377

    Unable to display output

    hello..

    can any one point out what are the error in this code. it state that the Name, Price and total is undefined.. thanks..



    <?php
    function writeOrder() {
    $order = $_SESSION['order'];...
  24. Replies
    1
    Views
    1,240

    print data via wireless using php

    Hye..

    I'm wondering. Is it possible to sent data to wireless printer?
    i try to search but i just manage to find how to print data to the connected printer only.. can anyone help me.. Your help is...
  25. Replies
    2
    Views
    3,357

    oo..thanks..it works..:D

    oo..thanks..it works..:D
Results 1 to 25 of 43
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles