• Member Avatar for patk570
    patk570

    Replied To a Post in Visible scrollbars in div on mobile devices

    Bootstrap CSS makes a great framework. I love the responsivness of it. I am building my current website based on it now. They have so many options for usage. [Bootstrap …
  • Member Avatar for patk570
    patk570

    Began Watching Visible scrollbars in div on mobile devices

    Hello all, I wonder if you can help me with this. I wanted to create a page which, among the other things, has a div with a lot of text …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Visible scrollbars in div on mobile devices

    try this: overflow-y: scroll; overflow: -moz-scrollbars-vertical; overflow: scroll;
  • Member Avatar for patk570
    patk570

    Replied To a Post in Overriding the anchor tag.

    Here is a fiddle: [Click Here](http://jsfiddle.net/patk570/djHxP/)
  • Member Avatar for patk570
    patk570

    Began Watching Overriding the anchor tag.

    I have a link in my web page: <div class="site-logo"> <h1 class="site-title"> <a href="http://10.0.0.201/wp/" title="Document &amp; Draft" rel="home">Document &amp; Draft</a> </h1> <h2 class="site-description">For power CAD users</h2> </div> The "site-logo" class …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Overriding the anchor tag.

    Try this: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> .site-logo{ display: block; text-align: left; color: #9FA32E; font-family: "Trebuchet MS",Arial,Helvetica,Sans-Serif; font-size: 42px; } a { …
  • Member Avatar for patk570
    patk570

    Began Watching PHP excel reader .xlsx

    Hi, I need to create a page where an admin can upload an excel worksheet in the .xlsx file format, this is then read and writen onto another php page. …
  • Member Avatar for patk570
    patk570

    Replied To a Post in PHP excel reader .xlsx

    try this, convert to csv and use a code like http://php-dev-zone.blogspot.com/2013/05/how-to-import-csv-file-data-into-mysql.html
  • Member Avatar for patk570
    patk570

    Began Watching PHP login timeout kicking me back to root of site after installing SSL

    Hi there - I had written some php for users to login to a password protected part of our site. Today an SSL certificate was installed. Previous to the SSL …
  • Member Avatar for patk570
    patk570

    Replied To a Post in PHP login timeout kicking me back to root of site after installing SSL

    Do not hardcode the www.mydomain.com/ just use the /subfolder/index.php Since it all attached to the same site and you are already on SSL, all you need to do/use is /subfolder/htmlfile
  • Member Avatar for patk570
    patk570

    Began Watching putting another column

    i have wrote query to calculate TOTAL WORK TIME and Overtime of an employee based on Intime and outTime but can't figure out to put another column 'IsAbsent'. e.g. if …
  • Member Avatar for patk570
    patk570

    Replied To a Post in putting another column

    have you tried something like: if($timeout =="" || $timein ==""){ echo 'Absent'; }
  • Member Avatar for patk570
    patk570

    Replied To a Post in another GET problem

    Your welcome.
  • Member Avatar for patk570
    patk570

    Replied To a Post in another GET problem

    Also just noticed that you have your connect.php in there multiple times, you only need it once in there. Move it to the top of the page where you have …
  • Member Avatar for patk570
    patk570

    Replied To a Post in another GET problem

    Thats because its never reaching that point yet. Make sure that all your lines in the update query are closed off properly. You are getting an error in there. copy …
  • Member Avatar for patk570
    patk570

    Replied To a Post in another GET problem

    this line also needs to closed with a ', `articles_title`='$articles_title1,`
  • Member Avatar for patk570
    patk570

    Replied To a Post in another GET problem

    Try this: $update_query = "update `articles` set `articles_date`='$articles_date1', `articles_title`='$articles_title1, `articles_category`='$articles_category1', `articles_image`='$articles_image1', `articles_content`='$articles_content1' WHERE `articles_id`='$update_id'" or die(mysql_error());
  • Member Avatar for patk570
    patk570

    Began Watching another GET problem

    The code below is from tutorial, my problem is my work dont work and the video tutorial is corrupted, i missed something for sure, the WHERE `articles_id`='$update_id' condition in query …
  • Member Avatar for patk570
    patk570

    Replied To a Post in another GET problem

    put at the top of the page `error_reporting(E_ALL);` and see what errors come from the page.
  • Member Avatar for patk570
    patk570

    Marked Solved Status for Count script only returns 0

    I am trying to do a count of all types in there(hardware and software) I thought i had the correct structure...but I guess i am wrong... $count = mysqli_query($mysqli, "SELECT …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Count script only returns 0

    Fixed it: $count = mysqli_query($mysqli, "SELECT (SELECT COUNT(*) FROM assets WHERE cust_id=$custID AND asset_type='hardware') + (SELECT COUNT(*) FROM assets WHERE cust_id=$custID AND asset_type='software') AS total_count"); echo mysqli_error($mysqli); $count = mysqli_fetch_object($count); …
  • Member Avatar for patk570
    patk570

    Created Count script only returns 0

    I am trying to do a count of all types in there(hardware and software) I thought i had the correct structure...but I guess i am wrong... $count = mysqli_query($mysqli, "SELECT …
  • Member Avatar for patk570
    patk570

    Began Watching Count script only returns 0

    I am trying to do a count of all types in there(hardware and software) I thought i had the correct structure...but I guess i am wrong... $count = mysqli_query($mysqli, "SELECT …
  • Member Avatar for patk570
    patk570

    Began Watching Creating additional menu tabs on the User accounts page

    I've created a View called 'Other member's which I only want to be displayed to logged in users. Is there a way where I can add this as a menu …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Creating additional menu tabs on the User accounts page

    have you tried something like if($_SESSION['username']==true){ echo '<li>Other Members</li>'; }else{ echo ''; }
  • Member Avatar for patk570
    patk570

    Replied To a Post in how can i use the sorting feature on post by the user click

    I found this by doing a simple search still using the tablesorter http://jsfiddle.net/Mottie/Yke6M/
  • Member Avatar for patk570
    patk570

    Began Watching retrieve data and display in textbox using <a> and jquery

    Okay so i have page1.php which has anchor tags. what i want to happen is that when, for example, Page 2 is clicked it directs to page2.php but also will …
  • Member Avatar for patk570
    patk570

    Replied To a Post in retrieve data and display in textbox using <a> and jquery

    Are these values for a specific person or all people in the database?
  • Member Avatar for patk570
    patk570

    Began Watching how can i use the sorting feature on post by the user click

    hey i am facing a problem in sorting the post.I want that when a user click on **NAME** button then all post display by name.Then if user want to print …
  • Member Avatar for patk570
    patk570

    Replied To a Post in how can i use the sorting feature on post by the user click

    Try this [JQuery Tablesorter](http://tablesorter.com/docs/) Code
  • Member Avatar for patk570
    patk570

    Stopped Watching The "answer movie name with movie name" game

    This is really simple. Just take the last letter of the movie name in previous post & put another movie name starting with that letter. Eg.:- if i put "The …
  • Member Avatar for patk570
    patk570

    Replied To a Post in how to insert date in table by using datepicker jquery?

    in the head section put: <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
  • Member Avatar for patk570
    patk570

    Replied To a Post in how to insert date in table by using datepicker jquery?

    Also, remove readonly
  • Member Avatar for patk570
    patk570

    Began Watching how to insert date in table by using datepicker jquery?

    how to insert date in table by using datepicker jquery? my jquery code is as: <script language="JavaScript" type="text/javascript"> $(function() { $( "#date" ).datepicker(); }); </script> in html <tr colspan="2"> <td …
  • Member Avatar for patk570
    patk570

    Replied To a Post in how to insert date in table by using datepicker jquery?

    Try this: <script> $(function() { $( "#datepicker" ).datepicker(); }); </script> <input class="input" name="date" type="text" id="datepicker">
  • Member Avatar for patk570
    patk570

    Began Watching when button click present table disappears and new table appears

    hey guys. i have created this page that has a text box and a search button and below them is another button let's call this button button A. when the …
  • Member Avatar for patk570
    patk570

    Replied To a Post in when button click present table disappears and new table appears

    Why not trying: PHP code: <?php if(isset($_POST['BTN_NAME']){ //do fucnction or query here. } if(isset($_POST['buttonA']){ //do stuff here } ?> HTML <form action="" method="post" name="TestForm"> <input type="text" name="text1"> <input type="submit" value="Run …
  • Member Avatar for patk570
    patk570

    Marked Solved Status for function Not Closing ul, li tags correctly

    Hello, I have a function that is working to generate the navigation bar, it grabs the parents and the "childs" and displays them but I have noticed that it is …
  • Member Avatar for patk570
    patk570

    Replied To a Post in function Not Closing ul, li tags correctly

    That is perfect! Thank you very much for this.
  • Member Avatar for patk570
    patk570

    Created function Not Closing ul, li tags correctly

    Hello, I have a function that is working to generate the navigation bar, it grabs the parents and the "childs" and displays them but I have noticed that it is …
  • Member Avatar for patk570
    patk570

    Began Watching function Not Closing ul, li tags correctly

    Hello, I have a function that is working to generate the navigation bar, it grabs the parents and the "childs" and displays them but I have noticed that it is …
  • Member Avatar for patk570
    patk570

    Stopped Watching Deal or No Deal

    So lets play a deal or no deal game. This game has been played on other forums and here are the instructions. You have to reply 'Deal' or 'No Deal' …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Looking for a calendar open source...with tasks

    Ive looked at that. But I dont want to have to go to a third party app to update the tasklist/appointments. I would like to do it all from the …
  • Member Avatar for patk570
    patk570

    Created Looking for a calendar open source...with tasks

    Hello, I am looking for a calendar to use with my website that I can add tasks/appointments into the db and have them show on the calendar. I would like …
  • Member Avatar for patk570
    patk570

    Began Watching Looking for a calendar open source...with tasks

    Hello, I am looking for a calendar to use with my website that I can add tasks/appointments into the db and have them show on the calendar. I would like …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Set table to 4 columns and then repeat

    I think i got it now. <table width="100%" cellpadding="5" cellspacing="5"><tr> <?php $cols=4; $folder = "images/ticket_images/".$_REQUEST['ticketid']."/"; $filetype = '*.*'; $files = glob($folder.$filetype); for ($i=0; $i<count($files); $i++) { $cols++; echo '<td align="center">'; …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Set table to 4 columns and then repeat

    I tried this, but its not working. <?php $col =0 $folder = "images/ticket_images/".$_REQUEST['ticketid']."/"; $filetype = '*.*'; $files = glob($folder.$filetype); echo '<table><tr>'; for ($i=0; $i<count($files); $i++) { $col++ echo '<td>'; echo …
  • Member Avatar for patk570
    patk570

    Created Set table to 4 columns and then repeat

    Hello everyone, I have a code to display images in a table for a specific ticket. I am needing the table to be 4 columns wide then repeat until there …
  • Member Avatar for patk570
    patk570

    Began Watching Set table to 4 columns and then repeat

    Hello everyone, I have a code to display images in a table for a specific ticket. I am needing the table to be 4 columns wide then repeat until there …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Sliding Banner with Jquery and PHP

    What i am trying to acheive here is have the slider move all the elements that is listed in the php code, by using something similar to the one i …

The End.