• Member Avatar for patk570
    patk570

    Replied To a Post in I was to add a button called 'delete', inside right click menu.

    I would suggest something like this: https://swisnl.github.io/jQuery-contextMenu/demo.html its based in jQuery, which will make it easier to code. I sent you the demo link.
  • Member Avatar for patk570
    patk570

    Began Watching I was to add a button called 'delete', inside right click menu.

    I makeing a website using VB .net inside visual studio. I have a database where I am storeing names. Than I am displaying these names inside a table. here is …
  • Member Avatar for patk570
    patk570

    Replied To a Post in HTLM TEMPLATE CODE/FORMATTING "ABOUT US"

    Also, you want to figure out what backbone you want to use to make it mobile friendly. We cannot just give answers we need a basis of foundation to start …
  • Member Avatar for patk570
    patk570

    Began Watching HTLM TEMPLATE CODE/FORMATTING "ABOUT US"

    can anyone send me a htlm code/template for "meet the staff" page or "about us" page if you look our site its not formatted correctly now is the moble version. …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Random Sentence Generator

    Thanks
  • Member Avatar for patk570
    patk570

    Replied To a Post in Random Sentence Generator

    Haha, that was a typo, there is no Java, its all PHP and CSS. I edited the content.
  • Member Avatar for patk570
    patk570

    Edited Random Sentence Generator

    Hey everyone, I got bored one day and created this little jem. There are no issues with it, but it may help somone out later on down the road if …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Display data in table from database when click hyperlink .

    It looks like you are missing a closing <tr> attribute in your first table field.
  • Member Avatar for patk570
    patk570

    Began Watching Display data in table from database when click hyperlink .

    HI,everyone , I m stum in this question for long time, could somebody help me out, my output is success ,but the arrange in table is wrong. below is my …
  • Member Avatar for patk570
    patk570

    Created Random Sentence Generator

    Hey everyone, I got bored one day and created this little jem. There are no issues with it, but it may help somone out later on down the road if …
  • Member Avatar for patk570
    patk570

    Began Watching Random Sentence Generator

    Hey everyone, I got bored one day and created this little jem. There are no issues with it, but it may help somone out later on down the road if …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Bootstrap date of birth field wont go side by side, help

    updated fiddle here: https://jsfiddle.net/oten520g/
  • Member Avatar for patk570
    patk570

    Replied To a Post in Bootstrap date of birth field wont go side by side, help

    Directly from getboostrap.com > Inline form Add .form-inline to your form (which doesn't have to be a <form>) for left-aligned and inline-block controls. This only applies to forms within viewports …
  • Member Avatar for patk570
    patk570

    Began Watching Bootstrap date of birth field wont go side by side, help

    hi all I am trying to build a registration form using the bootstrap, design, and I am stuck. i am stuck where the date of birth. it used the drop …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Trying PDO and Already getting errors...

    Hey Diafol, I echoed the `$nid` variable and it does show my user_id. Since i am the first one in the database, it echos `1`. I do have the `session_start()` …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Trying PDO and Already getting errors...

    Hey Diafol, I am using this to set `$nid` : `$nid = $_SESSION['user_id'];`. The user is me, so when it shows 1, that is me in the DB for user_id …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Trying PDO and Already getting errors...

    Okay, so last one... fixed that issue: $stmt = $this->db_connection->prepare("UPDATE `users` SET last_login = ? WHERE user_id = ? "); $stmt->execute(array(date("Y-m-d H:i:s"), $nid)); print_r( $stmt ); Still will not update …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Trying PDO and Already getting errors...

    Okay, so I got the first bug to work, but now it will not update the date time... $nid = $_SESSION['user_id']; $date = date("Y-m-d H:i:s"); $stmt = $this->db_connection->prepare("UPDATE `users` SET …
  • Member Avatar for patk570
    patk570

    Created Trying PDO and Already getting errors...

    So i have a simple script nothing to big, but im already getting an unexpected "updateTime" $sql = "UPDATE users SET last_login = NOW() "; $updateTime = $this->db_connection->exec($sql); THis is …
  • Member Avatar for patk570
    patk570

    Began Watching Trying PDO and Already getting errors...

    So i have a simple script nothing to big, but im already getting an unexpected "updateTime" $sql = "UPDATE users SET last_login = NOW() "; $updateTime = $this->db_connection->exec($sql); THis is …
  • Member Avatar for patk570
    patk570

    Created Probably Something Silly...But need help again...

    Cannot get this to refresh. My code is below. I am propably doing something silly, but I cannot figure it out... var auto_refresh = setInterval( function(e) { var email = …
  • Member Avatar for patk570
    patk570

    Began Watching Probably Something Silly...But need help again...

    Cannot get this to refresh. My code is below. I am propably doing something silly, but I cannot figure it out... var auto_refresh = setInterval( function(e) { var email = …
  • Member Avatar for patk570
    patk570

    Replied To a Post in php not executing in html hosted in apache rhel server

    Just add the `AddType application/x-httpd=php .html .htm` then the pages will work. It will make the server think that HTML/HTM pages are PHP and read the scripting you added.
  • Member Avatar for patk570
    patk570

    Replied To a Post in Need ideas on how to stlye my Customer Access area

    Thats not bad, but Like i said, I am not a stylist when it come to these things. I am the kind that kinds a nice template and just from …
  • Member Avatar for patk570
    patk570

    Edited Need ideas on how to stlye my Customer Access area

    Hey everyone, I have a site that has a customer account, right now it looks like crap and i need an idea on how to style it. Right now I …
  • Member Avatar for patk570
    patk570

    Created Need ideas on how to stlye my Customer Access area

    Hey everyone, I have a site that has a customer account, right now it looks like crap and i need an idea on how to style it. Right now I …
  • Member Avatar for patk570
    patk570

    Began Watching Need ideas on how to stlye my Customer Access area

    Hey everyone, I have a site that has a customer account, right now it looks like crap and i need an idea on how to style it. Right now I …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Input missed in $_post

    What Cereal said, when you have a field that is disabled, it will not send a variable to the server whereas the readonly field will send that field to the …
  • Member Avatar for patk570
    patk570

    Began Watching Input missed in $_post

    Sir I have these codes <body onload="code.focus()"> <!-------------------------------------> <form name="form" action="<?php $_PHP_SELF;?>" method="post"> <!-------------------------------------> <div id="partybox"> <!--f_date1--> <label for="datepicker-13"> Date </label> <span style="border:1px solid #FFF;border-radius:3px;width:95px;height:20px;"> <input style="background-color:#FFC;border:1px solid #9C6;text-align:center;" type="text" …
  • Member Avatar for patk570
    patk570

    Replied To a Post in php not executing in html hosted in apache rhel server

    add this to your .htaccess file Apache2 @ Ubuntu/Debian: use this directive AddType application/x-httpd-php .html .htm If your are running PHP as CGI (probably not the case), you should write …
  • Member Avatar for patk570
    patk570

    Began Watching php not executing in html hosted in apache rhel server

    I have a shell script , which I am executing via a PHP, which in turn executed from a html page. Whereas PHP script is not getting executed from the …
  • Member Avatar for patk570
    patk570

    Marked Solved Status for Populate Modal with ID Tag in PHP

    I am trying to populate the data in a modal via AJAX, but i am unsure how to do so. The link right now is `<a href="viewmessage.php?id='.$row['ID']'">View</a>` Since there is …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Populate Modal with ID Tag in PHP

    I got it to work, i had to modify what you put and changed a few values. The code is working like it should now. jquery: $(function(){ $('.get-msg').click(function(e){ var id …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Populate Modal with ID Tag in PHP

    So i figured out the issue, it is now displaying the results, however, `$(a[data-target="#messageModal"]).data('id');` will not pass the value, i had to use: `var id = $("#messageID").attr("data-id");`. This is working, …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Populate Modal with ID Tag in PHP

    This is the error i am getting, line 38 is `$('#messageModal').on('shown.bs.modal', function() {` error: Uncaught ReferenceError: $ is not defined at index.php:38
  • Member Avatar for patk570
    patk570

    Replied To a Post in Populate Modal with ID Tag in PHP

    So i changed it, but i am getting all sorts of errors. Here is my updated code: $('#messageModal').on('shown.bs.modal', function() { $.ajax({ type: "GET", url: "https://www.tekcomsolutions.com/secure/viewmessage.php", datatype: "html", data:{ dataId : …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Populate Modal with ID Tag in PHP

    So here is what is happening, 1) When i click on Test 1 Message, it shows the message for test 1 like it should. 2) When I click on Test …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Populate Modal with ID Tag in PHP

    Hey @Diafol, So, for the AJAX Function, does that go something like this: $('#myModal').on('show.bs.modal', function(){ $.ajax ({ type: "POST", url: "viewmessage.php", data: data-id='+ id', cache: false, success: function(r) { $("#messageBody").html(r); …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Populate Modal with ID Tag in PHP

    <!-- Modal --> <div class="modal fade" id="messageModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <h4 class="modal-title" id="myModalLabel">Modal title</h4> </div> <div id="messageBody" …
  • Member Avatar for patk570
    patk570

    Created Populate Modal with ID Tag in PHP

    I am trying to populate the data in a modal via AJAX, but i am unsure how to do so. The link right now is `<a href="viewmessage.php?id='.$row['ID']'">View</a>` Since there is …
  • Member Avatar for patk570
    patk570

    Began Watching Populate Modal with ID Tag in PHP

    I am trying to populate the data in a modal via AJAX, but i am unsure how to do so. The link right now is `<a href="viewmessage.php?id='.$row['ID']'">View</a>` Since there is …
  • Member Avatar for patk570
    patk570

    Replied To a Post in inner join multiple tables to get information

    <?php $email = $_SESSION['user_email']; $qry = "SELECT qbcd_user_email.address, qbcd_user_email.user_id FROM qbcd_user_email INNER JOIN qbcd_user ON qbcd_user.id = qbcd_user_email.user_id INNER JOIN qbcd_ticket ON qbcd_ticket.user_id WHERE (qbcd_user_email.address = '.$email.') ORDER BY qbcd_ticket.ticket_id …
  • Member Avatar for patk570
    patk570

    Created inner join multiple tables to get information

    I am using OS Ticket and I have another site for Members Area,I am trying to join the 3 tables that have the information that corresponds to the customer by …
  • Member Avatar for patk570
    patk570

    Began Watching inner join multiple tables to get information

    I am using OS Ticket and I have another site for Members Area,I am trying to join the 3 tables that have the information that corresponds to the customer by …
  • Member Avatar for patk570
    patk570

    Marked Solved Status for Loop Images 3 Images wide in PHP

    I have a code that is working to show images and description. But I am trying to get it to loop through 3 pictures wide, then loop again. and display …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Loop Images 3 Images wide in PHP

    That's not a bad idea, but I still had to have it draw from a database and display it 3 wide. That's where I needed the code came from. I …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Loop Images 3 Images wide in PHP

    this is what i was trying to acheive. I found a solution and adapted it. include ("lock.php"); // Select the data from table_name $result = mysqli_query($bd,"SELECT * FROM products"); // …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Loop Images 3 Images wide in PHP

    its not for a slider, it's to show all the images on the screen, but have them as the format described. I can put them in a table format IE: …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Loop Images 3 Images wide in PHP

    So basically, i want it to do : 123 456 789 I have the css that has it loop them all, but it fills the page, I want it to …
  • Member Avatar for patk570
    patk570

    Created Loop Images 3 Images wide in PHP

    I have a code that is working to show images and description. But I am trying to get it to loop through 3 pictures wide, then loop again. and display …

The End.