• Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in Exporting MySql Table into Excel Format

    This is an old question, but there is a straightforward solution You can fetch the rows from the query results set and write them to an intermediate file with PHP …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching Exporting MySql Table into Excel Format

    --Hi DaniWeb. I have been doying bulk data Uploads from Excel Sheet to MySql data base and hence thought that I may need the reverse of this process and so …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in Help with undefined variable error

    It would be most helpful if you can help us isolate the error. Some of the tools that can help are PHP function var_dump(), and a current list of the …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching Help with undefined variable error

    I am trying to display some text "THIS IS A TEST" on the html page. I am getting this error: "Notice: Undefined variable: text1 in /home/public_html/themes/videos/content.html on line 23" Here …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in AJAX for content impressions

    What is your front-end (or better yet, what is the URL of the site, so we can see the front-end)? A couple of things worthy of a search are "debounce" …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching AJAX for content impressions

    Hello webmasters, I have a website about memes and I want to update the database each time the user scrolls down. I have no problem when I make a few …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in Not able to fetch value for edit Data fr db json data

    First thing to test - did the query work or fail? Add **var_dump($result);** after line 10 in *fetch.php* and run that script standalone, using a known good value for *$nip*. …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching Not able to fetch value for edit Data fr db json data

    hey its me again.. now another matter about fetch data from db for provide information to modal form ( edit data ) not shown, [Click Here](https://i.ibb.co/L8jP6tb/update.png) here's just part code …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in How to set time to delete data from database

    The general design for this sort of thing is called "data expiration" and "garbage collection." You put a DATETIME column into the database table that gives the expiration date of …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching How to set time to delete data from database

    Please help to improve my skill.
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in mysqli_fetch_array() expects parameter 1 to be mysqli

    It's the 21st century so you want to be using object-oriented MySQLi now. Here's a teaching example showing how to do the basics in MySQLi. It's always wise to test …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching mysqli_fetch_array() expects parameter 1 to be mysqli

    <?php session_start(); ?> <?php include('dbcon.php'); ?> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div class="form-wrapper"> <form action="#" method="post"> <h3>Login here</h3> <div class="form-item"> <input type="text" name="user" required="required" placeholder="Username" autofocus required></input> …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in Multidimensional array :)

    This should help you get started. Be aware that this is a trick question - there may be ties at the highest frequency, and the function will only return one …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching Multidimensional array :)

    Write a PHP code to: 1- Create a 2-dimensional array, with a random number of rows and columns. 2- Fill the array with random numbers. 3- Send the array to …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in Need help for creating online print shop

    I don't think I can add a lot to the technology discussion, but maybe this will help put the task in perspective. https://en.wikipedia.org/wiki/Vistaprint VistaPrint trades under the market symbol CMPR …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching Need help for creating online print shop

    Got Client with need of **"online print shop"** Client is providing paper printing (like business cards, flyers), printing on cloths, office stationary, logo embroidery on any type of clothing. Client …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in Using one HTML/PHP to display different products

    Hey, Michael... I published a couple of articles a few years back at Experts-Exchange. These may be helpful. Read this first: https://www.experts-exchange.com/articles/11271/Understanding-Client-Server-Protocols-and-Web-Applications.html Then see the AJAX "Hello World" here: https://www.experts-exchange.com/articles/10712/The-Hello-World-Exercise-with-jQuery-and-PHP.html …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in Increasing/Decreasing the value of a number in PHP

    Here is an example showing the essential moving parts, HTH <?php /** * Clickable Buttons to Adjust a Counting Value in the PHP session */ error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('log_errors', TRUE); …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching Increasing/Decreasing the value of a number in PHP

    Hi All, So I an creating an online store just to play around with code and learn from it. I am building a store and on the confirmation page, I …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in Web Development Trends To Follow in 2019

    This sounds like the list for 2017, but not to worry - those topics will still be around in 2019. My personal list would include * APIs (both production and …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching Web Development Trends To Follow in 2019

    The year 2019 has brought new hopes with its arrivals. People around the world are looking for new web development trends the year is going to bring with it. People …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in Can PHP search a folder for a file?

    This is an old topic, and there are more modern solutions available today (2019). Consider using the Iterators. Good online documentation is available here: http://php.net/manual/en/class.directoryiterator.php
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching Can PHP search a folder for a file?

    I have a website that lists pdf files for downloading, with links to each file. What I want to do now is design a search page that will look in …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in PHP Search code is displaying all items in table

    Here's an annotated code snippet. Hopefully the ideas in the comments will be useful for you. <?php /** * Demonstrate some of the basics of MySQLi * * Some useful …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in PHP Search code is displaying all items in table

    Change to *error_reporting(E_ALL)* and PHP will tell you what is wrong. The script relies on an undefined variable, *$qname* and so PHP silently substitutes a null string. The resulting query …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching PHP Search code is displaying all items in table

    Hi All, I am trying to create some search functionaltiy for my website, but for some reason when I search any word, even if its not in my database it …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in Using one HTML/PHP to display different products

    Your instincts are spot-on. Of course it's possible, and all eCommerce sites work this way. You might want to check out the educational offerings from SitePoint. They have some great …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching Using one HTML/PHP to display different products

    Hi All, I am building an eCommerce website and I really new to PHP and MYSQL but loving the challenge. On my website I have 9 different categories of products …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Replied To a Post in How to increase my website speed?

    Sometimes cache can help - it reduces repetitive trips to the data base and image libraries. There are services like YSlow that can help reveal the issues. If you can …
  • Member Avatar for Ray Paseur
    Ray Paseur

    Began Watching How to increase my website speed?

    I have an eCommerce website. Website loading speed is too slow. I have talked with hosting service provider. They told me that there nothing is wrong with hosting. So I …

The End.