821 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Nuti

<?php include "database.php";?> <?php session_start();?> <?php // Getting total rows there in table $query="SELECT * FROM questions"; $results=$mysqli->query($query) or die($mysqli->error.__LINE__); $total=$results->num_rows; $row=$results->fetch_assoc(); //Reading the rows next by next and vice versa $offset=$row["question_number"]; // when button next is clicked it will fetch the next row if(isset($_POST["NEXT"])){ $offset++; } // if previous …

Web Development mysql php
Member Avatar for Dani
0
171
Member Avatar for larry29936

I have a download page that needs to run a function when clicking on a link. The function is supposed to enter a row in a mysql database table and download the file. I don't know if I've coded the function incorrectly or I coded the onclick incorrectly. Here's the …

Web Development javascript mysql
Member Avatar for Biiim
0
539
Member Avatar for larry29936

I'm trying to pass a filename to a function but don't know how to call the function from a click on a link. The top of my index.php is: <?php $filename = NULL; session_start(); // start of script every time. // setup a path for all of your canned php …

Web Development mysql php
Member Avatar for Dani
0
363
Member Avatar for ramkrishna.dhakad

onkeypress event in javascript not showing the unicode(hindi/remingtongail) character it is only alerting 'r' on pressing a key. i am using hindi indic input 3 toolbar to type in laptop. my javascript code is function validate(){ var string=event.key; c = string.charCodeAt(1); var xyx=String.fromCharCode(c); alert(xyx); } My html text area code …

Web Development codeigniter javascript jquery php
Member Avatar for Dani
0
631
Member Avatar for Prince_31

I want to dynamically fill key and value in an associative array using for loop in PHP $ct = 4; $str = ''; for($cunt=1; $cunt<=$ct; $cunt++) { $valu= '"value'; $cuntc = $cunt.'"'; $rw = '"$row'; $fild= "field"; $cp = $valu.$cuntc."=>".$rw."->".$fild.$cuntc; $str .= $cp . ','; } //trim the , from …

Web Development php
Member Avatar for Dani
0
237
Member Avatar for omaz

I want to create a friend chat where user can send, confirm and delete request and display results. Any help?

Web Development
Member Avatar for omaz
0
203
Member Avatar for Pirakavi

my Controller function public function editDoctor($id) { $doctor = $this->doctorsRepository->getDoctorById($id); return view('doctor.edit', compact(['doctor'])); } This is my modal form <!-- Edit Doctor modal --> <div class="custom-modal"> <div class="modal fade" id="editDoctorPopup" role="dialog" aria-labelledby="editDoctorPopupLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="editDoctorPopupLabel">Edit Doctor</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span …

Web Development jquery
Member Avatar for Dani
0
203
Member Avatar for Akinjide

Hello friends, I have a website on which I embedded my YouTube channel, but I need my users to pay before they can watch live videos. Help me.

Member Avatar for Dani
0
150
Member Avatar for larry29936

I have Apache2, php 7.2, and mysql installed. At the top of my index.php I have the following script: <?php session_start(); // start of script every time. // setup a path for all of your canned php scripts $php_scripts = '/home/larry/web/test/php/'; // a folder above the web accessible tree // …

Web Development mysql php
Member Avatar for broj1
0
700
Member Avatar for Motifaithed

Hi All, I'm currently working on a church attendance monitoring project, and this community had helped me a lot during my college days in building php base projects, now I'm here again to ask for help. The scenario is I want to track every individual who are present every sunday …

Web Development php
Member Avatar for rproffitt
2
405
Member Avatar for Stefce

I need to deoubfuscate a javascript file which i need to change a link inside it can anybody help me how to do that? I can upload the file also if you need it.

Web Development javascript
Member Avatar for Dani
0
880
Member Avatar for jrotunda85

I have created a table in a mySQL DB where users are going to a form and entering ratings on 6 Categories (5 Specific and 1 Overall) for a particular item_id. On the item table, I have a column that calculates the total number of ratings this particular item_id has …

Web Development mathematics php session sql
Member Avatar for Vishwajeet_2
0
3K
Member Avatar for Ardi Daullja

Hi everybody, Im developing one html and i need to display submenu how can i change the id aria-hidden true to false and vice versa when i click the button? Thank you <div class="wprw9j-0 hFDMkC" id="navbar-subnav-menu" aria-hidden="true"> <div class="dgf6n9-0 dAiGqK"> <ul class="dgf6n9-2 csTLEY"> <li class="dgf6n9-1 izNbxb"><a class="sc-5f33yf-1 sc-12r7gm-2 fOFqvA sc-5f33yf-2 …

Web Development html-css jquery
Member Avatar for Dani
0
529
Member Avatar for larry29936

I have a download section in my index.php that I'd like to add a download counter to but have no idea how to accomplish this. The existing code works perfectly but I'd like to know how many times the file is downloaded. Would prefer not to use a database. <!-- …

Web Development php
Member Avatar for larry29936
1
603
Member Avatar for Dani

What is the difference between setting a cookie domain to `www.site.com` vs `.www.site.com` when I want to limit a cookie to the www subdomain?

Web Development web-browser
Member Avatar for macfan
0
816
Member Avatar for larry29936

My contact form starts with: <form id="form1" method="POST" action="mail.php"> I'd like to replace the last line in my contact form: <button type="submit" value="Send" style="margin-top:15px; margin-left: 500px; text-align: center;">Send Email</button> with one that contains <img src="images/button_send-email.png" alt="Email"> but have no idea what it should look like. I tried <a href="mail.php"><img src="images/button_read-the-file.png" …

Web Development email php
Member Avatar for Dani
0
702
Member Avatar for larry29936

The validation section of my contact.php page is sending the user back to my index.php instead of staying on the contacts.php page so the user can correct the reported error. How can I fix this? My contact.php code follows: <?php if(isset($_POST['submit'])) { $name = $_POST['name']; $visitor_email = $_POST['email']; $message = …

Web Development email php
Member Avatar for Dani
0
688
Member Avatar for AndreRet

My code executes as follow - 1) a Search page is loaded where session was already started, var-dump() shows the correct session info like username etc. 2) User enters a search value in a 3rd party script search box that forms part of my search page, I have no control …

Web Development javascript php
Member Avatar for jkon
0
732
Member Avatar for markii.borabon

guys! Im new in PHP and im developing a small website wherein there's many images on the page and when i click one of the image it must be shown into another page with full details.. but the problem when i click one of the image it shown's nothing! I …

Web Development display image php
Member Avatar for Ahmed_152
0
8K
Member Avatar for ankushgarg

I am skilled in Core PHP, JavaScript, Mysql, Ajax, HTML, CSS, jQuery and Codeigniter and having 4+ years of experience in Web Development. I have very vast knowledge in dynamic and static website development.

Member Avatar for Dani
0
479
Member Avatar for Ryan_42

Is it possible to autofit a generated text inside a div? I have a button that creates a text inside a div element using javascript. The problem is there are some long text that are generated which overlaps the div that contains it. Is there anyway to auto fit like …

Web Development html-css javascript
Member Avatar for AndreRet
0
263
Member Avatar for Luah

{% for i in coupontesting %} <center> <div class="rectangle"> <span class="right">Store Link</span><span class="left">{{ i.seller_store }}</span> <div class="coupon-frame"> <div class="coupon-left-div coupon-align-center"> <div style="padding: 1.125rem;border-left: 1px solid #d4d4d4;"> <div style="position:relative;"> <div class="coupon-left-img-div text-center coupon-align-center orange pt-32"> <span class="bold-18">{{ i.name }}</span> </div> </div> </div> <div class="coupon-ticket-frame"> <div class="coupon-ticket-frame-style"> <div class="oupon-ticket-frame-line"></div> </div> </div> </div> …

Web Development mysql php
Member Avatar for Dani
0
224
Member Avatar for rezzo_1

Hello, I want to read the url (m3u) from this link, unfortunately I get the following error message. what's wrong. I'm relatively new to php sorry url = `https://www.hdtvler.tv/show-tv-canli-hd-yayin-izle/` want read this block `https://hdtvler2.etvserver.com/live_sd/showtv/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9My8zMS8yMDIwIDQ6MTk6MDUgUE0maGFzaF92YWx1ZT1mejM4UjdDNWQxYjlXODhieU5FL2hnPT0mdmFsaWRtaW51dGVzPTU="` my code <?php $homepage = file_get_contents("https://www.hdtvler.tv/show-tv-canli-hd-yayin-izle/"); preg_match('#"contentURL": "(.*?)"#', $homepage ,$m3ual); stripslashes($m3ual[1]); header("Location: ".$m3ual[1] ); ?>

Web Development php
Member Avatar for rproffitt
0
190
Member Avatar for Ryan_42

Can I relocate to a new url after click the ok button using sweet alert? this is my javascript file, where should I place here the code if its possible thank you $(document).ready(function() { $('#formA').on('submit', function(e) { //Don't foget to change the id form $.ajax({ url: 'includes/Aenduser.inc.php', //===PHP file name==== …

Web Development html-css javascript jquery
Member Avatar for Biiim
0
2K
Member Avatar for Alyana Diao

to make our project finish, i need to get the data from the user who just log in(only his/her data) but i dont have any idea how, can someone help me...thank you very much! well appreaciated :) so this is the part where i need to add something so i …

Web Development javascript jquery mysql php sql
Member Avatar for Alyana Diao
0
563
Member Avatar for Stefce

I want to make this table with HTML and CSS but somehow the image cant appear in the browser... Can you help me? https://prnt.sc/rmo2xl .box-border { display: inline-block; border: 1px solid; height: 80px; width: 100%; } .image-position { display: inline-block; } <div class="box-border"> <div class="image-position"> <img src="igniteLogoImage.png" alt="asdasd" width="42" height="42"> …

Web Development html-css
Member Avatar for Stefce
0
985
Member Avatar for abhi10kumar

Is there any way to backup/dump/export all the databases in one step and vice-versa (import all databases into MySQL) in MySQL ? If yes, then how I can do this..?

Web Development mysql php
Member Avatar for Purvi_1
0
338
Member Avatar for Knwbility

Hi there, I have multiple check bok in the html webpage. I want to get the selected check box value usin Javascript and email that value in email body content using a href mailto. Kindly please HELP me in this. Thank you.

Web Development javascript
Member Avatar for rproffitt
0
323
Member Avatar for aweshq.it

<li><a href="#">Pre Schools</a> <li><a href="#" style="cursor: yes;">Schools</a> ** <li><a href="#">Contacts</a> <li><a href="#">Results</a> <li><a href="#">School Performance</a> <li><a href="#">Ranking</a> ** (These Items are required in Horizontal Sub Menu of School. How to do this?) <li><a href="#">Colleges</a>

Web Development asp.net
Member Avatar for Dani
0
208
Member Avatar for larry29936

I'm creating a webpage where the user will be able to download an .iso file. The version of the iso will change. For example: xxxx.1.iso will become xxxx.2.iso when the iso is updated. How do I code the download button so that I don't need to re-code the button when …

Web Development html-css php
Member Avatar for Dani
1
2K

The End.