821 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for larry29936

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
Member Avatar for Dani
0
551
Member Avatar for abu taher

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] …

Web Development mysql php
Member Avatar for abu taher
0
168
Member Avatar for mekus51
Member Avatar for TimTheCoder

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
Member Avatar for TimTheCoder
0
112
Member Avatar for RC_820

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

Web Development mysql php
Member Avatar for Dani
0
87
Member Avatar for TimTheCoder

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 …

Web Development apache asp.net
Member Avatar for pritaeas
0
76
Member Avatar for Bienvenue

I need help on this php pdo error:PHP PDO - Uncaught Error: Call to a member function prepare() on null

Web Development php
Member Avatar for Dani
0
85
Member Avatar for sushu1209

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?

Web Development pdf php
Member Avatar for Dani
0
6K
Member Avatar for Intan Farizatul

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 …

Web Development mysql php sql
Member Avatar for Biiim
0
263
Member Avatar for Irfan_9

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
Member Avatar for AdamFriska
1
128
Member Avatar for RC_820

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
Member Avatar for Dani
1
126
Member Avatar for FarrisFahad

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 …

Web Development mysql php
Member Avatar for Dani
0
66
Member Avatar for Fireytech

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 …

Web Development mysql php
Member Avatar for Fireytech
0
63
Member Avatar for Josh Connerty

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
Member Avatar for rproffitt
0
62
Member Avatar for misstj555

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
0
57
Member Avatar for larry29936

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
Member Avatar for larry29936
1
262
Member Avatar for larry29936

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 …

Web Development html-css php
Member Avatar for Dani
1
148
Member Avatar for Jaklins

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 …

Web Development php session
Member Avatar for Bharath_6
0
12K
Member Avatar for Valeriia

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
Member Avatar for Karl_11
0
76
Member Avatar for UnabashedGeek

Who's up for a puzzle? About two months ago, I began to have troubles using the Town of Oakville's web site where I book fitness class spots. In places where there should be text, it's blank. My feeling is that this began intermittently, but I may be wrong. Today it …

Web Development html-css
Member Avatar for Dani
0
62
Member Avatar for stratozyck

I posted this the other day and by and large people responded with predictable lack of imagination. I will add additional explicit requirements for the prototype stage. I want to create a prototype of a different type of social media - call it "pro social" media. It would be owned …

Web Development mysql php sql
Member Avatar for rproffitt
1
87
Member Avatar for KnowledgeMan

Hi everyone, I am getting an undefined array key with a session variable. The code works fine once I set the variable. Can someone please help me with that issue? Thanks <?php session_start(); $servername = "localhost"; $username = "xxx"; $password = "xx"; $database ="xx"; // Create connection $conn = mysqli_connect($servername, …

Web Development javascript mysql php
Member Avatar for pritaeas
1
4K
Member Avatar for stratozyck

So far, we have gotten lots of innovative social media models. I am not too sure if this has already been tried, but I want to innovate on ownership model. Basically, I envision a Reddit that is owned by its mods and users. Maybe a hybrid FB and Reddit. It …

Web Development javascript mysql sql
Member Avatar for pty
1
111
Member Avatar for Mr.M

Hi DW. I'm creating a chat system which will alow guests to send DMs to the operator and the operator can reply to it. I'm using MYSQL as my database, fingerprint2js for identifying the user since user has not yet logged in or registered but want to first communicate with …

Web Development mysql php
Member Avatar for Biiim
0
133
Member Avatar for larry29936

I have two large files that I want to make available for users to download. When trying to download from my web host, the download never starts and I get a "504 Gateway Timeout". How would I revise my code to download from a file sharing site? I tried the …

Web Development php
Member Avatar for larry29936
0
88
Member Avatar for larry29936

I know this has a simple answer that I should know, but for the life of me, can't remember. I have the following update statement in my code: $stmt = $pdo->prepare("UPDATE `files` SET `filename` = ?, `md5` = ?, `filesize` = ?,`logtime` = now() WHERE `id` = ?"); $stmt->execute (array($isoname, …

Web Development php
Member Avatar for larry29936
0
49
Member Avatar for Jennifer_19

I'm new to this site and still fairlu new to PHP so not sure if this is were I need to place my question but here goes. I am currently trying to create a filter for my table using PHP. The filter options are already in my database; e.g I …

Web Development php sql
Member Avatar for for working
1
1K
Member Avatar for Divyansh_5

`Here is my HTML Code : <html> <head> <title>Welcome</title> </head> <body> <form enctype="multipart/form-data" action="upload.php" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> Choose a file to upload: <input name="uploadedfile_1" type="file" /><br /> Choose a file to upload: <input name="uploadedfile_2" type="file" /><br /> <input type="submit" value="Upload Files" /> </form> </body> </html> And Below …

Web Development file-system php
Member Avatar for Jawass
1
199
Member Avatar for Mr.M

Hi DW. I have code: <div class="lv-item media"> <div class="lv-avatar bgm-purple pull-left">u</div> <div class="media-body"> <div class="lv-title">dynamically_generated_value</div><!-- I want to get this value --> <div class="lv-small">Sample text</div> </div> </div> I use the following code to activate the selected list. NB the above is also dynamically generated for simplicity let say we …

Web Development javascript jquery
Member Avatar for Mr.M
0
53
Member Avatar for Christopher_41

hi All i am trying to make a set of pages that are adaptable to different websites, the text is generally the same for each site, but i need to insert names and other text to the site on different pages, i would like to do that by having a …

Web Development php
Member Avatar for Christopher_41
0
152

The End.