39,388 Topics

Member Avatar for
Member Avatar for sashika_sur

I'm recently trying to upload images without page refreshing. To do that I had identify ajax. My server side programing language is php. So I tried and success with it, but it's refreshing page. So I change that code after do research. But it shows error. Please help me with …

Member Avatar for Dani
0
463
Member Avatar for manu555
Member Avatar for divinity02

in my assignment I trying to create a popup box but someting wrong with my code. it supposed to popup when called and close as it have a close button but the button is not working can something tell me what did i do wrong. here is my code: is …

Member Avatar for Dani
0
657
Member Avatar for manu555
Member Avatar for divinity02

hi am doing this assignment in web develpment. have been trying to run it but for some reason it is not working. maybe a third eye will hope here is the code <?php error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); if(isset($_POST['register_user'])) { //capture the variable from the form and store …

Member Avatar for divinity02
0
441
Member Avatar for keitech

I've encountered an unknown user appear in my calls log and its had a 16mins airtime videocall to this person in messenger. I'm just suprised, it was appear in my call logs even though I didn't do anything Can anyone help me to track this code or identify who is …

Member Avatar for keitech
0
486
Member Avatar for jeffersonalomia

I hve encountered this error that I was using php pdo and wamp server 3.0. I couldnt insert data in ms sql server 2012 because it says that it couldnt find the table Error sql state[ 42S02] Base table or view not found: 208 invalid object name isys.ref_product sql insert …

0
204
Member Avatar for hlforr

I have a form as below on a page pricelist.php. On submit, it uses the code in submit.php to print a price next to the form on pricelist.php depending on the choices submitted in the form. On submit, I need the values of the first two fields to be retained. …

Member Avatar for alan.davies
0
585
Member Avatar for Love_7

I am working on a new project where I want to add candidates scores, there are different columns with HTML inputs that holds their performance scores at every stage, then I want to sum it up under the column TOTAL, get also the AVERAGE, and GRADE also on different columns …

Member Avatar for Reverend Jim
0
425
Member Avatar for Mr.M

As web developers we do take seriously the security of our end users by applying a hash method on their passwords before storing it to the database so should our database be hacked we know that our end user passwords are secure. But what about the browser remembered passwords on …

0
2K
Member Avatar for Bahrija

This is my array: [0] => Array ( [0] => SupSKU [1] => MfrSKU [2] => Cost ) [1] => Array ( [0] => A [1] => 11742-4 [2] => 47.25 ) [2] => Array ( [0] => B [1] => 11742-4 [2] => 283.5 ) [3] => Array ( …

Member Avatar for alan.davies
0
4K
Member Avatar for CSWinslow

So here's a little background to help with what I'm trying to accomplish (be mindful I'm also fairly new to MySQL): I'm creating a dynamically built navigation for a website using PHP and MySQLi. I've created a class called *Database* where I've got helper functions, such as connect() for connecting …

Member Avatar for CSWinslow
0
3K
Member Avatar for bprosic

Hi, I want to replace ticks in text with other text. This method usually works, but when adding three dots, I get php warning ltrim(): Invalid '..'-range, no character to the right of '..' or invalid range needs to be incrementing. I don't know where to look for error, except …

Member Avatar for Dani
0
3K
Member Avatar for sagisgirl

Hi, I am developing a system that need to monitor machines' licence, so i have a field 'movedate' and 'outdate' every machines can only been kept for 2 years for most. and if the machine didn't go out for almost 2 years, an alert will come out to remind the …

Member Avatar for Dani
0
8K
Member Avatar for FarrisFahad

Hello, I am trying to redirect my website from desktop version to mobile version. Here is the desktop version example: http://www.example.com Here is what I have accomplished: http://m.example.com The problem is that some files are stored under the www version and I want them to be shown on the m …

Member Avatar for Dani
1
3K
Member Avatar for SimonIoa

Hello i want to UNION three tables from the same database. SELECT DISTINCT * FROM (SELECT uid as id, name as name, username as username,bio as aboutme, '' as text, 'user' as type, profile_pic as profile_pic, '' as media_pic, '' as group_pic, 'U' as mediatype, '' as image_path FROM users …

Member Avatar for SimonIoa
0
2K
Member Avatar for developer707

Hello, Recently I am using phpexcel and afer many tries I wasn't able to find out how to make a document with a image in its header. Here is a simplified code that I am using. Can someone helps me with this issue?! <?php require_once 'PHPExcel.php'; $objPHPExcel = new PHPExcel(); …

Member Avatar for Arvind_7
0
10K
Member Avatar for Thomasio

I know C++, PHP and a few more, but I do not have the slightest clue, how to make a browser extension and the tutorials I find on the web are like chinese to me, so let me ask here, if anyone can help me out. Task: I want to …

Member Avatar for rproffitt
0
340
Member Avatar for FMTech

My code is given me error Parse error: parse error, expecting `T_FUNCTION' in C:\wamp\www\schoolapp\application\controllers\Login.php on line 277 here is my code <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Login extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('crud_model'); $this->load->database(); $this->load->library('session'); /* cache control */ $this->output->set_header('Last-Modified: ' . gmdate("D, d …

Member Avatar for gentlemedia
0
464
Member Avatar for Michael_93

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 with each page having about 8 items to sell. Rather than duplicating the code from each .php/.html file into a …

Member Avatar for NettSite
1
2K
Member Avatar for Josh_4

I have a webpage which helps download files from database. I want to count the how many times the download button has been clicked and display it on my webpage with unique id. This is my download webpage <div class="container"> <div class="row"> <div class="col-12"> <div class="media"> <img src="./images/<?= $mainImage; ?>" …

Member Avatar for warner_1
0
2K
Member Avatar for ChrisJ

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 is the php file ( I added line 35 and 39): <?php declare( strict_types=1); // these should be set in …

Member Avatar for coreyavis
0
311
Member Avatar for Josh_4

Hello please i have a download webpage which allow users to download mp3 files. I want to display the number of times a user has click the download button and display it on the webpage. The records are in a database and this is my code. This is my download …

Member Avatar for rproffitt
0
2K
Member Avatar for joseph_40

guys pls help me ,, how can i make a matrix round rounbin display ,, if you have an idea thats a big help for me

Member Avatar for rproffitt
-2
172
Member Avatar for CreatorZeus

So im trying to make a background switch by adjusting the z-index with a hover. I got it to work on one of my pages but the second page has more stuff on it and is too complex. Maybe im just over looking what im suppose to fix. First, the …

Member Avatar for AndrisP
0
491
Member Avatar for milan.sabic

I am getting a screen resolution through XMLHttpRequest. I am opening a show_content.php file with *xmlhttp.open* that contains screen resolution variables which I pull with the GET Method. xmlhttp.open("GET","show_content.php"+queryString,true); This works! and showing this file with the variables in a following div <div id="txtResolution"></div> This part works as well! PROBLEM: …

Member Avatar for AndrisP
0
686
Member Avatar for FarrisFahad

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 requests to the database, but what if I want to do a lot of requests in a large database? I …

Member Avatar for Ray Paseur
0
3K
Member Avatar for SkyFX

I am hacking my way through a Laravel project. I am returning a search-filtered databse query with Laravel and applying a pagination, the pagination works, the query works, but the pagination links go to a blank page, only the first page of results is visible. Any hints would be much …

Member Avatar for SkyFX
0
1K
Member Avatar for ariowishnu

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 fr each related page : **modal edit** ill try with first input type with **id="name" name="name"** <!-- edit modal --> …

Member Avatar for Ray Paseur
0
460
Member Avatar for abdallah mohamad

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 a function that returns the number of the highest frequency in the array. Who can help me to solve it?

Member Avatar for abdoosh
0
4K

The End.