Jump to content
Lizard Wizard Coding Club

ianhaney

Member
  • Content Count

    22
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ianhaney

  • Rank
    Member
  1. I am using this script and all works fine but is it possible to add a active class to the pagination so when on page 6 for example, the number 6 is highlighted so know which page number I am on, below is the current code I have // Count the total records $total_records = mysqli_num_rows($result); //Using ceil function to divide the total records on per page $total_pages = ceil($total_records / $per_page); //Going to first page echo "<div class='btn-group' style='margin:0 auto;display:table;'>"; echo "<br><br><center><a href='view-all-customers.php?page=1' class
  2. I am using the crud mysqli script and want to be able to insert multiple checkbox values selected to the database table but add the values to one db table column, below is the coding I have but no data is being added <?php /* Allows the user to both create new records and edit existing records */ // creates the new/edit record form // since this form is used multiple times in this file, I have made it a function that is easily reusable function renderForm($customer_name = '', $customer_email = '', $customer_phone = '', $items_booked_in = '', $computer_make = '', $computer_m
  3. I need bit of help with this script if possible. I am trying to add multiple checkbox values into one database table column separated by commas but I can't seem to get it adding to the DB, I have added php error reporting on the site but is not showing any errors after clicking the submit button. My coding is below <?php /* Allows the user to both create new records and edit existing records */ // creates the new/edit record form // since this form is used multiple times in this file, I have made it a function that is easily reusable function renderForm($customer_name = '',
  4. Hi I need some help or advice, I want to upload and download a file along with adding other data like name and email using the form but am not sure how to do it if someone can help me please Thank you in advance Ian
  5. Hi, I need some help with this and creating a search form that allows me to filter dates so I can see data between two dates but I keep getting no results to display even though I should have 1 set displayed based on the dates I am entering, below is my code search-data.php <form method="post" action="data-results.php"> <label>From Date : </label><input type="text" name="exrdate" id="fromdate" /> <br/><br/> <label>To Date : </label><input type="text" name="exrdate" id="todate" /> <br/><br/> <input
  6. Hi Stef Oh right ok cool I need bit of help with a update issue, I am using this script and for some reason, the data is not being updated. I only want to be able to update three columns within the database table but don't seem to be doing it I have put the coding in a pastebin link below http://pastebin.com/mK9eAHQ9
  7. Hi Is this forum still active as have a quick question about this script
  8. I know it is the datepicker confusing the mysql as the standard format is YYYY-MM-DD but datepicker is changing it to DD/MM/YY so just not sure how to have it as DD/MM/YY but make it still add into the database as YYYY/MM/DD or convert to DD/MM/YYYY in the database Hope that makes sense
  9. Hi I am having a couple more issues with the script I have added in some extra fields and all works apart from two of the extra fields, I have made them date input fields and the mysql data type is date and am using datepicker but for some reason, the date is being added into the mysql table as 00/00/0000 Can't work out why, the coding is below <?php ini_set('display_startup_errors',1); ini_set('display_errors',1); error_reporting(-1); ?> <?php /* Allows the user to both create new records and edit existing records */ // connect to the database include("connect-d
  10. Sorry got it sorted, I forgot to add the id to the form tag
  11. Hi I need bit of help if ok with this script I have put all the coding in and seems to be all ok but on the records.php file, I want to add in a select menu and then show extra text input fields based on what the user selects in the select menu but the extra fields don't show when I select a option value below is my coding for the records.php file with the select menu part and it's javascript <form action="" method="post" class="basic-grey"> <div> <?php if ($id != '') { ?> <input type="hidden" name="id" value="<?php echo $id; ?>" />
  12. Hi I need bit of help on the edit.php page I got the following errors come up and was just seeing if anyone could help with where I am going wrong please if ok Warning: Missing argument 13 for renderForm(), called in /home/sites/broadwaymediadesigns.co.uk/public_html/sites/micromend/admin/edit.php on line 163 and defined in /home/sites/broadwaymediadesigns.co.uk/public_html/sites/micromend/admin/edit.php on line 26 Notice: Undefined variable: error in /home/sites/broadwaymediadesigns.co.uk/public_html/sites/micromend/admin/edit.php on line 41 Below is the coding from the ed
  13. Hi I think I have found a new way of doing the booking system using opencart I am trying to integrate the jQuery Event Calendar Plugin – english version into a opencart website, I found a extension that someone has done it but to be honest would like to know how to do it myself rather than getting the extension that is the same jquery calendar etc I have got the calendar displaying on the website but struggling to do the backend for it and integrating it into the admin side of opencart The jQuery Event Calendar Plugin – english version url is below http://www.vissit.com/jqu
  14. ianhaney

    Booking System

    Hi I need some help or pointing in the right direction please I am using a booking script that I got off Google and works perfect but the client want's users to be able to book multiple classes at a time and then pay via PayPal in one go The current booking system I am using does not do that and just seeing if anyone could help me with it please I suppose in a way it will be bit like a shopping cart system where can add multiple products to the cart and then checkout up to now I have changed the form action to a continue page so they book a class and land on the continue pa
×
×
  • Create New...