• Member Avatar for patk570
    patk570

    Began Watching 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

    Marked Solved Status for Add Pagination to my script

    Hey everyone, I have a MYSQLI statement that i would like to add pagination to. I would like to have it set to 5 per page, and not have a …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Add Pagination to my script

    Nevermind, I fixed it, I didnt add the LI tags to the number elements, so it was messing it all up. this discussion is now solved.
  • Member Avatar for patk570
    patk570

    Replied To a Post in Add Pagination to my script

    Okay guys, i finally added a pagination Script see below <?php $start=0; $limit=3; if(isset($_GET['id'])){ $id=$_GET['id']; $start=($id-1)*$limit; } $query = "SELECT * FROM `blog_posts` ORDER BY postID DESC LIMIT $start, $limit"; …
  • Member Avatar for patk570
    patk570

    Replied To a Post in If command with two conditions

    Try this.... if ($row['PROT_A']="Y" && $row['CFHL_A']="$G2") { echo "<img src='/fantasy/images/current.png' width='12' height='12'>"; }
  • Member Avatar for patk570
    patk570

    Began Watching If command with two conditions

    I must be missing something obvious. Looking to have an if statement where it will only echo the image if BOTH conditions are met. Currently, it is echoing when only …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Add Pagination to my script

    I am not using PDO connection and i dont have any PDO scripting in my site. Its all simple things, I am not looking for extravigance, I am looking for …
  • Member Avatar for patk570
    patk570

    Created Add Pagination to my script

    Hey everyone, I have a MYSQLI statement that i would like to add pagination to. I would like to have it set to 5 per page, and not have a …
  • Member Avatar for patk570
    patk570

    Began Watching Add Pagination to my script

    Hey everyone, I have a MYSQLI statement that i would like to add pagination to. I would like to have it set to 5 per page, and not have a …
  • Member Avatar for patk570
    patk570

    Created Dumb Question...Unexpected T_While Error

    Guys, i am getting an unexpected T_While Error on my code, I cannot figure it out. can you help? ` <?php` $sql = "SELECT id, u_name, u_email, subj, phone FROM …
  • Member Avatar for patk570
    patk570

    Began Watching Dumb Question...Unexpected T_While Error

    Guys, i am getting an unexpected T_While Error on my code, I cannot figure it out. can you help? ` <?php` $sql = "SELECT id, u_name, u_email, subj, phone FROM …
  • Member Avatar for patk570
    patk570

    Created Advice Needed - All-in-One CRM with Invoice

    Hey Everyone, I am looking for possibly a CRM that can be used for multiple items: 1. Invoicing 2. Credit Card Processing 3. Front End Website 4. Customer Area/Members Pages …
  • Member Avatar for patk570
    patk570

    Began Watching Advice Needed - All-in-One CRM with Invoice

    Hey Everyone, I am looking for possibly a CRM that can be used for multiple items: 1. Invoicing 2. Credit Card Processing 3. Front End Website 4. Customer Area/Members Pages …
  • Member Avatar for patk570
    patk570

    Replied To a Post in website template

    kinda, when i generate content via php, i want the midde column to change height, but not the sidebars
  • Member Avatar for patk570
    patk570

    Created website template

    hey everyone, I am looking for a website template that is mobile responsive, with a header and 3 columns. in the left and right column there will be 3 items …
  • Member Avatar for patk570
    patk570

    Began Watching website template

    hey everyone, I am looking for a website template that is mobile responsive, with a header and 3 columns. in the left and right column there will be 3 items …
  • Member Avatar for patk570
    patk570

    Marked Solved Status for Convert countif from excel to jquery

    Hey guys, I have a code on excel, that will count the critera if there is more than one box filled out. =COUNTIF(C5:D14,"<>0") But now i am converting this code …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Convert countif from excel to jquery

    Diafol, to answer the one question that i missed, there is no database, its all user input.
  • Member Avatar for patk570
    patk570

    Replied To a Post in Convert countif from excel to jquery

    Patrick_18 is my alt, for some reason my email has 2 tied to it and i am not sure why.
  • Member Avatar for patk570
    patk570

    Replied To a Post in Convert countif from excel to jquery

    Kinda, When i toggle the auto pay to yes, i want it to take 5.00 from the laccess(1-10) box, then i toggle no, it puts the 5.00 back. So, if …
  • Member Avatar for patk570
    patk570

    Created Convert countif from excel to jquery

    Hey guys, I have a code on excel, that will count the critera if there is more than one box filled out. =COUNTIF(C5:D14,"<>0") But now i am converting this code …
  • Member Avatar for patk570
    patk570

    Began Watching Convert countif from excel to jquery

    Hey guys, I have a code on excel, that will count the critera if there is more than one box filled out. =COUNTIF(C5:D14,"<>0") But now i am converting this code …
  • Member Avatar for patk570
    patk570

    Created Search from Multiple Tables PHP

    I have a code: $data=$_SESSION['title']; $view=$con->query("select flower.*, mystash.* from flower,mystash where mystash.name like '%$data%' OR flower.name like '%$data%' ORDER BY name ASC"); $check=$view; if($check!="") { while($descri=mysqli_fetch_object($view)) { I am trying …
  • Member Avatar for patk570
    patk570

    Began Watching Search from Multiple Tables PHP

    I have a code: $data=$_SESSION['title']; $view=$con->query("select flower.*, mystash.* from flower,mystash where mystash.name like '%$data%' OR flower.name like '%$data%' ORDER BY name ASC"); $check=$view; if($check!="") { while($descri=mysqli_fetch_object($view)) { I am trying …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Change city and state to State/City In PHP

    I think i need a str_replace(); code to make it work, but i cannot figure it out
  • Member Avatar for patk570
    patk570

    Created Change city and state to State/City In PHP

    Hello, I have an array that returns city and state in this format: Detroit,MI I want it to be shown as Michigan/Detroit is there any way of doing this? Here …
  • Member Avatar for patk570
    patk570

    Began Watching Change city and state to State/City In PHP

    Hello, I have an array that returns city and state in this format: Detroit,MI I want it to be shown as Michigan/Detroit is there any way of doing this? Here …
  • Member Avatar for patk570
    patk570

    Marked Solved Status for Cannot get this to loop or echo

    Hello, I am trying to get this to loop through all the available items in a database and return the results. <?php $qry = mysqli_query($con,"SELECT * FROM `favorites` WHERE `username` …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Cannot get this to loop or echo

    Its working beautifully! Thanks
  • Member Avatar for patk570
    patk570

    Replied To a Post in Cannot get this to loop or echo

    My connecting string is attached above as an include. Is that going to return all results back to the user?
  • Member Avatar for patk570
    patk570

    Created Cannot get this to loop or echo

    Hello, I am trying to get this to loop through all the available items in a database and return the results. <?php $qry = mysqli_query($con,"SELECT * FROM `favorites` WHERE `username` …
  • Member Avatar for patk570
    patk570

    Began Watching Cannot get this to loop or echo

    Hello, I am trying to get this to loop through all the available items in a database and return the results. <?php $qry = mysqli_query($con,"SELECT * FROM `favorites` WHERE `username` …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Looking for an Ajax Favorite button

    That works perfectly Gabriel, Thanks for that!
  • Member Avatar for patk570
    patk570

    Replied To a Post in Looking for an Ajax Favorite button

    Im not to keen with jquery. I know a little bit of it. I did write this: <?php include 'connect.php'; // Check connection if (mysqli_connect_errno()) { echo "Failed to connect …
  • Member Avatar for patk570
    patk570

    Created Looking for an Ajax Favorite button

    Hello, I am looking for a script to add items to a database that can be found in the my account section, The table in the database is structured: id …
  • Member Avatar for patk570
    patk570

    Began Watching Looking for an Ajax Favorite button

    Hello, I am looking for a script to add items to a database that can be found in the my account section, The table in the database is structured: id …
  • Member Avatar for patk570
    patk570

    Marked Solved Status for Illegle Offset in cURL and PHP

    Hello, I am getting a weird error when i try to run this array: //leafly api keys $appID ='Blah'; $appKEY = 'blah'; //init curl $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://data.leafly.com/strains/".strtolower($data)); …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Illegle Offset in cURL and PHP

    better array structure Array ( [0] => Array ( [sl_translate] => description,descriptionPlain,category [id] => 239 [slug] => pineapple [name] => Pineapple [symbol] => Pin [category] => Hybrid [description] => <p>Pineapple …
  • Member Avatar for patk570
    patk570

    Created Illegle Offset in cURL and PHP

    Hello, I am getting a weird error when i try to run this array: //leafly api keys $appID ='Blah'; $appKEY = 'blah'; //init curl $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://data.leafly.com/strains/".strtolower($data)); …
  • Member Avatar for patk570
    patk570

    Began Watching Illegle Offset in cURL and PHP

    Hello, I am getting a weird error when i try to run this array: //leafly api keys $appID ='Blah'; $appKEY = 'blah'; //init curl $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://data.leafly.com/strains/".strtolower($data)); …
  • Member Avatar for patk570
    patk570

    Began Watching A Simple Password Hash and Verify Class

    Hi All, thought I'd pass on a (very) simple password class which is built on the new `password_hash()` and `password_verify()` functions. You will need php 5.5.0+ in order to get …
  • Member Avatar for patk570
    patk570

    Replied To a Post in A Simple Password Hash and Verify Class

    very nice
  • Member Avatar for patk570
    patk570

    Replied To a Post in My menu is Hiding this behind slider

    Change to this: .cbp-fwslider { margin: 0px 0px 10px; padding: 0px; border: 1px solid rgb(0, 0, 0); border-image: none; overflow: hidden; position: relative; z-index:-1; }
  • Member Avatar for patk570
    patk570

    Began Watching My menu is Hiding this behind slider

    Hi. I have problem with menu. I have develop drop down menu and slider. But i am facing problem that menu is hiding behind slider. How can i solve this …
  • Member Avatar for patk570
    patk570

    Replied To a Post in My menu is Hiding this behind slider

    Change the z-index of your slider to be behind the content or the dropdowns to infront of it. http://www.w3schools.com/cssref/pr_pos_z-index.asp
  • Member Avatar for patk570
    patk570

    Replied To a Post in Reset Password Script

    Ahh thanks pritaeas!, Sikander, mysql is outdated and will not use it. I perfer mysqli or PDO Thanks though.
  • Member Avatar for patk570
    patk570

    Created Reset Password Script

    Hello, I found this script and have used it for my login system. http://www.wikihow.com/Discussion:Create-a-Secure-Login-Script-in-PHP-and-MySQL I have changed some variables but none the less its the same. I am trying to …
  • Member Avatar for patk570
    patk570

    Began Watching Reset Password Script

    Hello, I found this script and have used it for my login system. http://www.wikihow.com/Discussion:Create-a-Secure-Login-Script-in-PHP-and-MySQL I have changed some variables but none the less its the same. I am trying to …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Is it possible to truly hide a url?

    This is my jquery code: function renderFileRow(data) { var $link = $('<a class="name" />') .attr('href', data.is_dir ? '#' + data.path : './'+data.path) .text(data.name); var $dl_link = $('<a/>').attr('href','?do=download&file='+encodeURIComponent(data.path)) .addClass('download').text('download'); var $delete_link …
  • Member Avatar for patk570
    patk570

    Replied To a Post in Is it possible to truly hide a url?

    Yea, My Jquery code creates the # using an attr.() function if there is a directory. That is when the `#userfiles/username/subfolder` appears in the url. I am wanting to stop …

The End.