-
Gave Reputation to diafol in Pagination with While loop
https://www.daniweb.com/programming/web-development/tutorials/499320/common-issues-with-mysql-and-php item #6 -
Replied To a Post in How to filter the filenames with its digits using perl?
After your main loop possibly just do another loop to go from 1 - $max_id and tar up then rm -rf each lower numbered directory? Maybe I'm missing something but … -
Began Watching How to filter the filenames with its digits using perl?
How to take the maximum digits file linked with the folder using perl? my $location = $output_dir; print $location; open LOGFILE, $location; my $first_line = 1; #print $first_line; my $max_id; … -
Replied To a Post in Which SEO plugin is best suit for word press site?
The plugin itself is not that important. Make sure that your site: 1) Works well with the social media sites you use (e.g. pulls in the right thumbnail and summary … -
Began Watching Which SEO plugin is best suit for word press site?
Hi Friends !! Which SEO plugin is best suit for word press site? Someone suggest All in one and another suggest Yoast plugin so which is best. -
Replied To a Post in array to mysql through form
Just wanted to comment that I recommend strongly using prepare and execute instead of escaping strings, as that is a very error-prone method and may lead to SQL injections. See … -
Began Watching array to mysql through form
Hello everybody, I'm stuck with this and I hope there is somebody who can help me. I have a Form <html> <form action="" method="POST"> <input type="text" name="credentials[firstname]"> <input type="text" name="credentials[lastname]"> … -
Replied To a Post in Windows 10 showing updates available but not downloading
You may have done this but often I find a reboot or two resolves this type of issue for me. Open up Settings > Windows Update and click Check for … -
Began Watching Windows 10 showing updates available but not downloading
Hello I have a Windows 10 Pro (v.1511 - x64) PC, whereby in the "Update & Security" window it shows that updates are available, for example "Definition update for Windows … -
Replied To a Post in A online news portal of my college
You should mention what your goals are -- e.g. what do you want this site to accomplish, what process or existing manual system does it replace -- and try to … -
Began Watching A online news portal of my college
hi..so i am facing problelm how to upload data on my websites in which format (.pdf,etc) should upload data and how to do it. -
Replied To a Post in Reading Serial Port and Plotting with Chart.
Agreed that more context is needed in general. What type of object is chart1? One thing I noticed is that displayData_Event is invoked by DataReceivedHandler but this seems to not … -
Began Watching Reading Serial Port and Plotting with Chart.
Hello, I'm trying to read a serial port data from a controller and plot it using chart. I could read the data from the controller and see the data in … -
Replied To a Post in Pagination with While loop
The general approach is to do two queries. Since you didn't include the code that generated your result set, I will use a simple example. The idea is to do … -
Began Watching Pagination with While loop
Hello ladies and gents, i hope you are all well! Just recently joined this site looks great and easy to use. I am just getting into php and msql i … -
Replied To a Post in Cancel part is not working. How to resolve it?
Looks like maybe a simple typo, you open a file named "modifiedrecords." (without any extension) then try to rename a file named "modifiedrecords.txt" to "newrecords.txt". -
Began Watching Cancel part is not working. How to resolve it?
#include<stdio.h> #include<conio.h> #include<Windows.h> #include <time.h> #define A 3// name a constant struct book { char name[20]; int ID_card; int contact_number; int dd; int mm; int yy; long int booking_ID ; … -
Began Watching Running Ethernet To Bungalow
Hello Daniweb, I'm going to moving houses soon, a house we might be moving into has a bungalow and I was wondering how I'd go about running ethernet from the … -
Replied To a Post in Running Ethernet To Bungalow
If there is an existing AC connection between the two buildings you may be able to get by with an ethernet over powerline adapter such as http://www.amazon.com/TP-LINK-TL-PA4010KIT-Powerline-Adapter-Starter/dp/B00AWRUICG/ref=sr_1_3?ie=UTF8&qid=1457965921&sr=8-3&keywords=ethernet+over+power -
Began Watching Simple PHP generated website title
What i'm i doing wrong? here is my code FUNCTIONS.PHP <?php function get_header(){ include 'header.php'; } function get_footer(){ include 'footer.php'; } HEADER.PHP <?php function set_title($title){ echo $title; } ?> <!DOCTYPE … -
Replied To a Post in Simple PHP generated website title
If I am guessing correctly, you are just trying to get some basics to work before you implement the actual functionality. There's nothing wrong with that! The problem basically is … -
Replied To a Post in PHP FAST CACHE
Cache in the PHP level is not going to help in this case. The person at your hosting company was probably either talking about browser caching, or didn't really have … -
Replied To a Post in PHP FAST CACHE
Yeah, as I suspected this isn't to do with your PHP code at all. Your PHP file replies in about 200 milliseconds, then the browser spends all it's time downloading … -
Began Watching PHP FAST CACHE
Hello i have a problem with my website. It is running slow. I asked the my server provider why is that, and they replied its because the webiste uses many … -
Replied To a Post in PHP FAST CACHE
What is the URL to your page? The ISP's notes sound more related to a frontend (i.e. your browser can't load that many videos at once) than something you could … -
Began Watching Delete the data in multiple tables
How to delete Data from multiple tables. For example Iam having category id in one data base table .in another data base table iam having this id if i delete … -
Replied To a Post in Delete the data in multiple tables
Be really careful when you use On DELETE CASCADE - if you do not set it up exactly correct you will end up removing records that you didn't intend to. … -
Replied To a Post in Insert data from multiple checkbox values into database
Also, related to <unrelated> topic </unreleated> ;): varchar(255) should be okay - char(255) would for sure be bad as it always takes up 255 characters. varchar on the other hand … -
Replied To a Post in Insert data from multiple checkbox values into database
I see, you are using the updated version of the functions from our comments on my thread. You need to add this line after including the file: require_once("Mysqli.php"); $conn = … -
Replied To a Post in Insert data from multiple checkbox values into database
Some things to check... Does your page now start with the line `PHP Parsed okay`? If not, there is something wrong with PHP's configuration or there is a syntax error … -
Replied To a Post in Insert data from multiple checkbox values into database
What output do you get with my version? It should have printed out an error message object. If you got no output at all, try putting this at the top … -
Began Watching Insert data from multiple checkbox values into database
Hi, all. Currently i am facing some problem with my coding. I am used this code to insert data from multiple checkbox values into database. but its still not happen … -
Replied To a Post in Insert data from multiple checkbox values into database
Diafol is very right, your code is subject to injection attachs. As hey says, you should at least call `mysql_real_escape_string()` on every value before putting them into your `$sql` variable. … -
Replied To a Post in table sort
Did you check the Network tab and make sure that there are no 30_ or 40_ errors? -
Began Watching htaccess php
how to remove php extension in .htaccess example media.php?page=test -
Replied To a Post in htaccess php
You need to define what you want to redirect *from* as well as what you want to redirect *to*. Assuming that you want to go from: http://example.com/test to: http://example.com/media.php?page=test Then … -
Began Watching table sort
Hello, I am trying to create a table which has a sort feature. I mean whenever someone click the table header, the table content must be sorted based on the … -
Replied To a Post in table sort
I suggest using DataTables to do this. Their [zero configuration example](http://www.datatables.net/examples/basic_init/zero_configuration.html) does exactly what you want to an existing HTML table. It does also add search and a few things, … -
Began Watching Web error - CI
Hello, I am trying to troubleshoot this problem using codeigniter. I am following a tutorial and getting this error after installing the ready-to-use-uncomplete-ci-script. Therefore, I still have to edit things … -
Replied To a Post in Web error - CI
Those are not really errors - they are PHP code that isn't getting parsed. Somewhere you have a line that starts with "load->model(array('Mediatutorialaccount'))" which is not inside of a `<?php` … -
Began Watching PHP curl not saving as correct mimetype
I have some code that takes a URL and downloads it using CURL. Here's the code: $url= $row['loc']; $path = 'tmp/'; $path .= rand(100,999); $path .= $row['name']; $fp = fopen($path, … -
Replied To a Post in PHP curl not saving as correct mimetype
I believe you need to set CURLOPT_RETURNTRANSFER before CURLOPT_FILE: curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FILE, $fp); -
Began Watching php max_execution_time is not working
hi everyone, in my server, i am running a script thats uses curl heavily and it usually takes about 5 minutes to finish running. It used to wokr in my … -
Replied To a Post in php max_execution_time is not working
Couple things: 1. Use phpinfo() to make sure that the value is actually being changed or not. If your host runs PHP as FastCGI, you may need to kill the … -
Replied To a Post in Curl Posting thousands of looped rows at once in php
Yeah sorry about the errors, wasn't able to fully test the idea. Glad it helped though! -
Replied To a Post in fetching data from json
Well it's actully returning some data. The three ... in bold mean that the output is being truncated because it's too deep. Try using print_r() instead of var_dump(): echo '<pre>'; … -
Replied To a Post in fetching data from json
Well without a valid API key the call returns an error object which does not have a datetime property. Obviously you don't want to post your API key but can … -
Began Watching edit PDF with PHP
I am trying to find out if it is possible to [B]edit/add to[/B] an existing PDF file with PHP. I have a PDF agreement document that needs to have the … -
Replied To a Post in edit PDF with PHP
I recommend [FPDF](http://www.fpdf.org/) for this. Here is some sample code extracted from a project I did recently that filled out a complex employment application based on a web form. This … -
Replied To a Post in Curl Posting thousands of looped rows at once in php
Some sample code. Post data to your customer's PHP file like this: // Read data from DB $query = $db->execute("SELECT * FROM `dlr_tbl` WHERE `fetched` = '0'"); $row = $query->getrows(); …
The End.