Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~24.4K People Reached
About Me

Trainee Web Developer

Interests
Web Design, Internet, Computers
Favorite Forums
Favorite Tags
Member Avatar for jonlloydd

Receiving error - Warning: Missing argument 4 for Get_All_Orderlines_Range(), called in /home/download/domains/1ecommerce.com/public_html/dev/_cms/list_orders.php on line 184 and defined in /home/download/domains/1ecommerce.com/public_html/dev/_cms/list_orders.php on line 161 Line 161: function Get_All_Orderlines_Range($id, $all = "", $from_date, $to_date){ $sql = "SELECT * FROM orders"; $sql .= " INNER JOIN orderline on orders.OR_ORDER_NO = orderline.OL_ORDER_NO"; $sql .= " …

Member Avatar for imaaxa
0
2K
Member Avatar for jonlloydd

I have set up a redirect to the mobile version of my site when the user is on a mobile phone. However trying to open this on an iPhone it produces the error 'Safari cannot open the page because to many redirects occurred' and when opening it on an Android …

Member Avatar for Anu_5
0
295
Member Avatar for jonlloydd

I am trying to code a search box that will search though a column in my database. If the search matches the column then that record will be printed in the table below. I am searching on a column that contains the county of a company record. There are no …

Member Avatar for Gideon_1
0
9K
Member Avatar for jonlloydd

I am trying to log a user out of my CMS after a set amount of time. By inactive I mean has not clicked the mouse or typed on there keyboard. So after 30 minutes of inactivity my log out function is ran. There is already a log out function …

Member Avatar for tobyITguy
0
382
Member Avatar for jonlloydd

I am trying to force log out an inactive user from my CMS. The timeout value is stored in a value called PREF_TIMEOUT in my database. Ive borrowed this code and modified it a little. The code does not seem to be doing anything. Does anyone know of a better …

Member Avatar for jkon
0
293
Member Avatar for jonlloydd

I currently have two tables in a database. One for products and one for product options. My product table allows a product to have 4 different option for example size and color etc. My options table gives each option an option ID. So for the option color - red, green, …

Member Avatar for diafol
0
174
Member Avatar for jonlloydd

I am tring to work out a price with VAT included based on a VAT rate the user enters. I want to display the result in a input box. Can I display the result of this as the user enters the VAT rate and price without clicking a button or …

Member Avatar for diafol
0
286
Member Avatar for jonlloydd

I want to filter records being displayed from a MySQL table if the value of a field = one of multiple predeclared values. I am already running a query on my table which displays records based on which option from a dropdown menu the user selects. However before the user …

Member Avatar for linus72982
0
501
Member Avatar for jonlloydd

I have a search box and a dropdown box. I am using these to filter data being displayed on my table from the MySQL table. I can type a county name in to the searchbox and all the records with that county name will be dsiplayed. THAT works fine, however …

Member Avatar for matrixdevuk
0
578
Member Avatar for jonlloydd

I am trying to create a search box that searches the county field of the database. If the criteria matches then the records will be displayed in the table. I have got the different counties in the dropdown box however when I click the record the table does not change. …

Member Avatar for diafol
0
357
Member Avatar for jonlloydd

Could anyone help me with code for a simple PDF file uploader in PHP I want to upload to a file on a server. Ive tried to write one several times and I simply can't get it to work!

Member Avatar for diafol
0
532
Member Avatar for jonlloydd

I am trying to create a PHP PDF uploader that prints the filename type and size. However when I click the upload button it says "Upload failed with error". If anyone could help with this I would really appreciate it! <?php $allowedExts = array("jpg", "jpeg", "gif", "png", "pdf"); $extension = …

Member Avatar for registerers
0
258
Member Avatar for jonlloydd

PDF file uploader is spitting out an error, could anyone help? Parse error: syntax error, unexpected T_VARIABLE in /home/stylecraft/domains/stylecraft-yarns.co.uk/public_html/dev/_cms/upload_pdf2.php on line 37 <?php $allowedExts = array("jpg", "jpeg", "gif", "png", "pdf"); $extension = end(explode(".", $_FILES["file"]["name"])); if ($_FILES['file']['error'] !== UPLOAD_ERR_OK) { die("Upload failed with error " . $_FILES['file']['error']); } $finfo = finfo_open(FILEINFO_MIME_TYPE); …

Member Avatar for jonlloydd
0
253
Member Avatar for jonlloydd

I am trying to print a table of reviews based on the date they were written. I set the dates and hit search and nothing happens? There are record in the database. Any help would be appreciated! <?php include_once("includes/session.php"); confirm_logged_in(); include_once("../includes/functions.php"); include("../includes/dbopen.php"); include("../includes/mysql.php"); ?> <?php $pageTitle = 'List Orders'; $pageSubTitle='Orders'; …

0
110
Member Avatar for jonlloydd

Function is called in my functions file. function Get_Favourites($fields){ $member = $fields['fv_member']; $sql = "SELECT * FROM favourites "; $sql .= "WHERE FV_MEMBER='" . $member . "' "; $sql .= "ORDER BY FV_PRODUCT"; return FetchSqlAsObjectArray($sql); } Functions file is called in my header and is working with other functions. <?php …

Member Avatar for jonlloydd
0
9K
Member Avatar for jonlloydd

PHP code not being interpreted by DW and appearing as text on webpage. My Php code is below, this code is bolted into a html site(PHP file). However the code is not being executed and it is appearing as text on the webpage. Any help would be really appreciated. <?php …

Member Avatar for jonlloydd
0
167
Member Avatar for jonlloydd

I want a certain portion of code to be inserted into a text area depending on which option is clicked in a dropdown box. Where it says you selected header. I want it to display about 10 lines of code for each option. Can I store the lines of code …

Member Avatar for diafol
0
168