dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: ianhaney

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds; generated 2 minute(s) ago.

  1. Replies
    1
    Views
    301

    sorry sussed it, got it working

    sorry sussed it, got it working
  2. Replies
    1
    Views
    301

    PHP Link issue

    Hi

    I am making a script using the following

    http://www.killersites.com/community/index.php?/topic/3064-basic-php-system-view-edit-add-delete-records-with-mysqli/

    all works perfect, just...
  3. Replies
    1
    Views
    280

    Sorry sussed it, got it working

    Sorry sussed it, got it working
  4. Replies
    1
    Views
    280

    show custom text based on id

    Hi

    I am making a booking script and so far so good, works perfect, just got stuck on a little issue

    Within the booking script are classes and what I want is if a specific class is selected, I...
  5. Replies
    27
    Views
    1,065

    Hi iBeZi you ok Ahh cool is good to know, I''...

    Hi iBeZi you ok

    Ahh cool is good to know, I'' try and remember that in the future, what a nightmare but well worth sorting it out and thank you so much for your help and replies, really appreciate...
  6. Replies
    27
    Views
    1,065

    Sorry another update, think I have solved it I...

    Sorry another update, think I have solved it

    I had the following coding



    $value = (!empty($_REQUEST["value"])) ? intval($_REQUEST["value"]) : 1.0;


    so I looked at the price php file as...
  7. Replies
    27
    Views
    1,065

    Hi Just a update I looked at the...

    Hi

    Just a update

    I looked at the bs-coupon-add.php file again and the code that inserts the coupon data into the database and I took out the round($value,2) and just left in $value just to see...
  8. Replies
    27
    Views
    1,065

    Hi I went through every php file and nowhere...

    Hi

    I went through every php file and nowhere is another INSERT INTO for bs_coupons apart from the bs-coupons-add.php file which has the coding that have tried amending to get the coupon value to...
  9. Replies
    27
    Views
    1,065

    Oh right ok, I'll have a look through the php...

    Oh right ok, I'll have a look through the php files and see if I can see any other INSERT INTO for the coupons and post a update if ok
  10. Replies
    27
    Views
    1,065

    Yeah could see the form and everything

    Yeah could see the form and everything
  11. Replies
    27
    Views
    1,065

    No have checked to make sure is no round function...

    No have checked to make sure is no round function is in the functions.php file

    yeah I picked up on Google that round is a php function in itself

    I pulled this coding out from the functions.php...
  12. Replies
    27
    Views
    1,065

    No probs all done is still not outputting...

    No probs all done

    is still not outputting anything on the website page
  13. Replies
    27
    Views
    1,065

    I put the echo $sql; just after the INSERT INTO...

    I put the echo $sql; just after the INSERT INTO coding after the last bit $code . "')"; and did not echo anything out so put it after the form and it echoed out the sql just above it and said SELECT...
  14. Replies
    27
    Views
    1,065

    still the same result im afraid could it be...

    still the same result im afraid

    could it be another php file that is causing it to round to the nearest whole number?
  15. Replies
    27
    Views
    1,065

    Oh right so should it just be the following ...

    Oh right so should it just be the following



    $sql = "INSERT INTO bs_coupons (title,dateFrom,dateTo,type,value,services,code)
    VALUES ('" . $title . "','" . $dateFrom . "','" . $dateTo . "','"...
  16. Replies
    27
    Views
    1,065

    Hi Just a update I tried the following ...

    Hi

    Just a update

    I tried the following



    round(153.751,2)
  17. Replies
    27
    Views
    1,065

    Hi iBeZi Good spotting, I changed it to $value...

    Hi iBeZi

    Good spotting, I changed it to $value but is still the same in afraid, is still rounding to 33% instead of 33.33%
  18. Replies
    27
    Views
    1,065

    The data type of that DB column is decimal(10,2)

    The data type of that DB column is decimal(10,2)
  19. Replies
    27
    Views
    1,065

    Hi I have attached the functions.php and...

    Hi

    I have attached the functions.php and bs-coupon-add.php files as zip files to this thread as would not let me attach php files

    I keep looking at the php coding and just can't see why the...
  20. Replies
    27
    Views
    1,065

    Hi iBeZi Thank you for the reply, I now...

    Hi iBeZi

    Thank you for the reply, I now understand what need to look for but I can only see the following



    $sql = "INSERT INTO bs_coupons (title,dateFrom,dateTo,type,value,services,code)
    ...
  21. Replies
    27
    Views
    1,065

    PHP rounding number

    Hi

    I am integrating a booking form in PHP in a clients website, it is on my website in a sub folder at the mo for testing purposing

    I got one little issue, when I enter a coupon value it is...
  22. Hi iBeZi Thank you so much for the reply and...

    Hi iBeZi

    Thank you so much for the reply and coding, I managed to get it working finally after playing around with it

    Thank you again though for replying and the coding, appreciate it
  23. make div box shrink and grow with show and hide

    Hi

    I am currently building a website for a client and within the search form, I have more options which is a link that shows and hides more options to search by and it works perfect but I want the...
  24. Replies
    0
    Views
    474

    stuck on multiple image update

    Hi

    I am new to PHP and am doing a project for fun to get the hang of it, I decided to build a car listing website and got a majority of it working apart from the edit listing page

    I know how to...
  25. Replies
    1
    Views
    709

    smarty php help

    Hi

    I am working on a website that uses smarty tags and to be honest am really stuck as don't use smarty often

    The site is http://irhwebsites.com/sites/zacs-car-site/index.php

    I want to...
Results 1 to 25 of 69
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles