778 Recommended Topics
Remove Filter | |
| Hi. I have a local installation of SQLite3 and PHP which runs a small in house PHP application so sql injection is not an issue. I am able to execute the following: if(isset($_GET['deletequote'])) { $qno = $_GET['deletequote']; echo $qno;?><br><?php // for testing $db = new SQLite3('./fi_data.db') or die('Cannot delete quote. … Web Development php |
I've recently gotten my first ID job as a PHP programmer but one of the tasks that bites my is JS/jQuery, I don't know JS/jQuery but now i'm having to use it. I'm taking a course on udemy.com but I'm having issues, sometimes the code executes and sometimes noting happens … Web Development javascript jquery php | |
hi I need your help if you know JS to fetch 3 values //value of JID2 input //value of slider //value of the NOTES but since JS is new to me i would need your help please. it is a form with a few controls that user can check , … Web Development html-css javascript | |
Hi - We have this line ~Contact.FirstName~ in our subject line for an email. We need to add an 's at the end to make it plural. So it would read Joe's instead of just Joe. Web Development html-css | |
Hi guys :) Is there a chance to disable these two things from my site? (View Source) and (Ctrl + C ) please, give me few minutes from your time and help, i'll be much more appreciated :) thanks in advance :) Web Development javascript | |
I am new to PHP and I need some help in the below code. The below code is working fine but I need to add a "Functionality to be added in the below code, so that if any New File is uploaded it should auto increment in a series. For … Web Development file-system image php | |
Hello there, I created a "users" table on MySQL and created a few columns namely "accountbalance", "ledgerbalance" and "dailybalance" (all three: BIGINTs). I created a test user and added some random figures. I am trying to retrieve the value of this columns (unique to the user) and them pasted separately … Web Development html-css javascript mysql php | |
hey I'm beginner learning php have hard time to Insert data to product in database with image because the category I did make it work but now I need to update data the same style that I add it with the Insert Code: <?php include('./pro_crud/config.php'); $sql_cat = "SELECT * FROM … | |
I have a couple of scripts from the same template but different version. I am using php and mysql. I need to know how to update the mysql database and the script from version 1 to version 2 with a single click. | |
I just racked my brain for the past hour trying to fix a bug, and learned something new in the process. I always thought that the jQuery function `.data('key')` was a wrapper for `.attr('data-key')`. It turns out that's not the case! Take the example: `<div data-key="foo">`: I can use `data('key', … Web Development javascript jquery | |
FPDF is a class that provides a useful way to deal with PDF documents using dynamic content. Sometimes, according to a special circumstance, also would be valuable to send directly the PDF as attachment e.g. send an invoice automatically after processing a payment. In this example we use a html … | |
The following code works without errors on my local server but when I put it up on my hosted website, I get a "Failed - Network Error" message immediately. The way this works is that a button is pressed on a download page to select what file to download. Here's … Web Development file-system php | |
I want to auto generate the id number. I write this code. But it's not work. I don't make primary key for id in database. function getData() { $data = array(); $data[1] = $_POST['name']; $data[2] = $_POST['fname']; $data[3] = $_POST['address']; $data[4] = $_POST['phone']; $data[5] = $_POST['class']; $data[6] = $_POST['qualification']; $data[7] … | |
Hey guys am trying to pass values entered by a user in a form to an **ASP.NET** controller for processing to a database context. I do not know why the values in the form are not being passed to the controller method with the same parameter names, because when I … Web Development asp | |
hii guys i have web site need to generate random progress like this ![messageImage_1650466235444.jpg](https://static.daniweb.com/attachments/4/4177f476696ea21823be5ca5550a7b39.jpg) can some one suggest me how can i make it | |
Helllo guys am trying to build my first ASP.NET application here and I have a **Models** folder and **Controllers** folder. The models folder contains the class for an entity called customer whose properties are to be read from sqlite database. Thee is also a **Pages** folder that contains a folder … | |
I need help on this php pdo error:PHP PDO - Uncaught Error: Call to a member function prepare() on null Web Development php | |
Hi, I need to split the pdf document into two parts,like i have a pdf which consists 100 pages,i need to split the pdf into two parts where first part consits 10 pages and second part consists 1 to 100 pages?how to do that using php? | |
hi, i have some problem with my php code. when i run the php, the page keep loading and no output displayed. here is my code: $dayBeforeNew = $_GET['daybefore']; $dayAfterNew = $_GET['dayafter']; $sql = "SELECT reference.LOCID, reference.Region, Sitename, (SELECT `Data Total Traffic` from 4g_statistic where reference.LOCID = 4g_statistic.LOCID AND 4g_statistic.Day … | |
Three if condition if(isset($_POST['search']) & !empty($_POST['searchdata']) ) if(isset($_POST['search']) & !empty($_POST['searchName']) ) Else each statement have the own pagination created now confusion for example first condition is true and three page is created when i click its goes to else condition and below 10 pages is created which is true in … Web Development html-css javascript php | |
hii all, btw i want to make login system, and check if user is multiple login and give notification in current user login, how can i make it ?? can someone please suggest/teach me to make system like that? Previously I've searched for it on google but couldn't find the … Web Development codeigniter jquery php | |
Hello webmasters, I am trying to create a script using vanilla PHP. I am familiar with the language and I have created a cronjob before, but only using cPanel. I want to create cronjobs using PHP if possible with out the need to go to cPanel. I am trying to … | |
Hello All, I have a question regarding Gutenberg React. I'm familiar with React which is what leads me to not understanding how the process works. React can only render JSX but Gutenberg seems to render HTML (presumably by setting inner html dangerously), however it also adds event listeners to the … Web Development html-css javascript | |
I have a subform called "Contacts" embedded on my "Tickets" page. I want to create an edit button to jump to my contacts_edit.php page and use the 'ContactEntryNumber' (the unique key from my Contacts table) for the displayed contact record as the updateID. I have played with this and read … | |
Hello. I am working on a personal project using React. I have three checkboxes that are supposed to filter the information in the table automatically when checked off (for example, if you check off "airline1", then only airline1 and its data will populate in the table). I would like some … Web Development javascript | |
Iβm using a timer script that Iβd like to change the displayed text in the <p> ... </p> when the countdown ends but have no idea how to accomplish it. Iβd appreciate any help I can get. Hereβs the code Iβm using: <p> The Update will be done in <span … Web Development javascript | |
Iβd like to force my code to pause after completion and before displaying a completion message. Iβve tried sleep and wait commands but they affect the start of running the code. Iβve searched the web for how to do this for two days with no success. The reason for wanting … | |
Hello This is a simple php login script with sessions. It connects to mySQL for usernames and passwords. Iβm using a variation of the code from [url]http://www.phpportalen.net/wiki/index.php?page=Enkel+Inloggning+med+Mysql+och+sessioner+-+Komplett+kod[/url] (index.php is the relevant part) Here is my code (my script is called login.php): [code=php] <?php session_start(); // Always at the top include … | |
Hello everyone! Can you please tell me how can I limit the number of entries to my website with one login? Iβm going to use Joomla for this site. I need to get a unique device id apart from the platform. What should be used - php, javascript or anything … Web Development |
The End.