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 I intend working with HTML, jQuery and Php in getting this done, any help please?

Member Avatar
Member Avatar
+0 forum 1

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 new file and change the SQL query, is it possible to write a script that says when the user clicks on category1 in the navigation bar, show all the products in category1? Hope this makes sense. Thanks in advanced.

Member Avatar
Member Avatar
+2 forum 7

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 --> <div class="modal fade" tabindex="-1" role="dialog" id="editEmployModal"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title"><span class="glyphicon glyphicon-edit"></span> Update Pegawai</h4> </div> <form class="form-horizontal" action="pegawai/update.php" method="POST" id="updateMemberForm"> <div class="modal-body"> <div class="edit-messages"></div> <div class="form-group"> <!--/here teh addclass has-error will appear --> <label for="nama" class="col-sm-2 control-label">Nama</label> <div class="col-sm-10"> …

Member Avatar
Member Avatar
+0 forum 1

Hello guys , i have an issue , my jquery code works on safari but when i go on chrome or any other web browsers it dosen't work . I tried to edit my code but still nothing is working . I do not know where it comes from, the code is quite simple that's why i dont really understand . [My code :](https://paste.ofcode.org/m9yVDhGeXHTZUQ5sTW3HL7)

Member Avatar
+0 forum 0

I'm having a webpage that loads inside an iframe. I added the base tag to load the images, styling and to make links work, after clicking on a link I'm getting the error "whatsmyip.com refused to connect". Adding target="name-of-iframe" to all links doesn't work. HTML <html> <head> <script type="text/javascript" src="jquery-3.2.1.min.js"></script> <script> function getURL(url){ document.getElementById('frame').src = 'proxy.php?url='+encodeURIComponent(url); } </script> </head> <body> <button onclick="getURL( 'https://whatsmyip.com/')">Google</button> <iframe name="frame" id="frame" width="800" height="600" src=""></iframe> </body> </html> PHP $page = get_page($_GET['url']); $page = str_replace("<head>","<head><base href=\"".$_GET['url']."\">",$page); echo str_replace("<a","<a target=\"frame\"",$page); function get_page($url){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); $proxy = '14.207.72.213:8080'; curl_setopt($ch, CURLOPT_PROXY, $proxy); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, …

Member Avatar
+0 forum 0

I'm using the free website builder Mobirise application. Is it possible to remove all the links to Mobirise from the code? It's really annoying. I don't want to do it manually.

Member Avatar
+0 forum 0

Hello everybody, I have the following records in a file. > 15:00:00.870;334 > 15:00:00.872;1314 > 15:00:00.889;334 > 15:00:00.890;334 > 15:00:00.891;334 > 15:00:00.892;334 > 15:00:00.909;212 > 15:00:00.910;334 > 15:00:00.929;334 > 15:00:00.948;334 > 15:00:00.950;334 > 15:00:00.969;334 > 15:00:00.970;334 > 15:00:00.990;334 > 15:00:01.010;295 > 15:00:01.011;334 > 15:00:01.012;334 > 15:00:01.029;334 > 15:00:01.030;334 > 15:00:01.048;334 > 15:00:01.049;334 > 15:00:01.051;1314 I want to count second column occurrence per second, so I would be able to get something like the below: 1314 occurred at 15:00:01 1 time 334 occurred at 15:00:01 6 time 295 occurred at 15:00:01 1 time 334 occurred at 15:00:00 12 time 212 occurred …

Member Avatar
Member Avatar
+0 forum 2

Does anyone here know how to install [iptvstack](https://iptvstack.com) dashbosard and settup our brand and sell under it?

Member Avatar
Member Avatar
+0 forum 1

I need help that how to make these assignment by html,javascript?? i have made admin and user login ..need codes for further more.. **description of assignment:** Salemanagementsystem have two panels.Admin login with specific id and Admin have rights to update product lists add, delete and update. Employees can create new account and login with register email. Employees can search and sale over products via sale button sales products can store in an array which display sales pages. Sales page can see admin and employees but only admin have a rights to restore or delete sales products. Use local storage to …

Member Avatar
+0 forum 0

Hello i'm to make a vacations script calculator <div id="content"> <form class="form-container"> <input class="emri" type="text" placeholder="Name"> <input class="mbiemri" type="text" placeholder="Last Name"> <input class="Vendosni-Datelindjen" type="text" placeholder="Birthday"> <select class="drop-down-select"> <option selected="selected" value="Select Zone">Select Zone</option> <option value="Zone A">Zone A</option> <option value="Zone B">Zone B</option> </select> <select class="drop-down-select"> <option selected="selected" value="Nr of persons">Nr of persons</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> Start <input type="date" value="" /> Finish <input type="date" value="" /> HERE TO SHOW TOTAL PRICE </form> ` <a target="_blank" title="Contact Us On WhatsApp" href="https://api.whatsapp.com/send?phone=123456789&text=HERE TO COPY ALL MY INPUT VAULE AND TO PASTE ALL TO WHATSAPP MESSENGER"> <i class="fa fa-fw fa-whatsapp" style="color:#fff"></i> <button …

Member Avatar
Member Avatar
+0 forum 1

I current have this .cgi which is used to display to a user the products they've selected for purchase.   I am wondering what is the best and most efficient way to obtain this scenerio:   Right now if someone purchases the first motor it is $18 and that displays in the table below but any additional motor is $12 which is where I'm looking for some guidance.   I know the item is a motor based on it's description obtained from fields[2]   Also - individuals have the ability to enter in a quantity obtained from fields[3] so if …

Member Avatar
+0 forum 0

Hi 1.am able to run using XAMPP on PC. When i run from my board, am not getting proper data. I mean it is not fetching the file index_1.txt.html and index_1.txt file are available in same path in sd card. Anything wrong 2.Instead of using second argument with file name, is it possible to use as a function and call it in same file in below code xhttp.open("POST", "index_1.txt", true); Please suggest Thanks and Regards Rizwan Syed

Member Avatar
Member Avatar
+0 forum 2

I have tried my best to find an info about this on the internet, but had no luck, sadly. So I would ask here: Please take a look on this [spam link removed] Can anybody tell me please how to make the same contact form (at the bottom-right corner)?

Member Avatar
Member Avatar
+0 forum 1

Hello everyone, I used in my htlm/php page the code of site where the data is showed in this part.: <div class="row" id="records"><div class="col-sm-4" id="emp_id"></div> The value what that script gets from my database is put in id="emp_id". Now my question is as next. Is it possible to put id="emp_id" into a php variable? So i also can read that into the rest of my vars ike here? foreach ($_POST as $key => $val) $_SESSION[$key] = $val;

Member Avatar
Member Avatar
+0 forum 5

I’ve created modified **CSS reset** based on various reset stylesheets available. Need some help to make it effective & clean. Need some help with typography *, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; outline: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } *:focus { outline: none; } ::-moz-selection { background: #ccc; color: #fff; } ::selection { background: #ccc; color: #fff; } html { line-height: 1.15; -webkit-text-size-adjust: 100%; } body, html { width: 100%; height: 100% } body { font-size: 14px; font-weight: 400; font-style: normal; line-height: 2; margin: 0; padding: 0; …

Member Avatar
Member Avatar
+0 forum 8

Hey everyone i am just asking for a little bit off help if thats fine how can i make 11 fetch scripts into 1 script please [database ](https://i.imgur.com/BTGQF1P.png) i like to make this menu to display the coins i know you can do it but i dont know how since am not pro <ul class="nav nav-pills mb-3" id="pills-tab" role="tablist"> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Pick a coin</a> <div class="dropdown-menu"> <a class="dropdown-item" id="pills-btc-tab" href="#pills-btc" role="tab" data-toggle="pill" aria-controls="pills-btc"><img src="https://i.imgur.com/h2bZxBg.png" width="23" height="23"> Bitcoin</a> </div> </ul> fetch from mysqli i have btc here but i like to get every …

Member Avatar
+0 forum 0

Hi I am struggling with some code and was wondering any someone could please help me. My php skills are VERY limited and only get stuff done by reading forums like this and watching YouTube videos :-[. I am enjoying learning so that is why I am sticking with it and not reverting back to html which I am pretty well accomplished at. I have a phpMyAdmin database with 75 entries. My site has pagination setup where it shows 10 entries per page. I have setup one column in my database with enum and the values are 0, 1, 2, …

Member Avatar
Member Avatar
+0 forum 6

Hi, I've designed a voting system in PHP that when a user clucks on the vote button it echo a message and a link to view the result. I want to move this message and the link to a popup window

Member Avatar
Member Avatar
+1 forum 4

This time, I am trying to customize color in bar chart. https://www.fusioncharts.com/dev/chart-guide/chart-configurations/data-plot bar_chart.html <html> <head> <script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> </head> <body> <script type="text/javascript"> FusionCharts.ready(function() { var revenueChart = new FusionCharts({ "type": "doughnut2d", "renderAt": "chartContainer", "width": "500", "height": "300", "dataFormat": "json", "dataSource": { "chart": { "caption": "Account Overview", "subCaption": "As of 20 February 2014", "xAxisName": "Month", "yAxisName": "Revenues (In USD)", "theme": "fint", }, "data": [{ "label": "Jan", "value": "27%" }, { "label": "Feb", "value": "73%" } ] } }); revenueChart.render(); }) </script> </head> <body> <div id="chartContainer">FusionCharts XT will load here!</div> </body> </body> </html> I wonder why …

Member Avatar
Member Avatar
+0 forum 1

I wonder how to create a table in angular where the data is taken from Json or xml (must be seperated file)?

Member Avatar
-2 forum 0

Hello, I am following this tutorial: https://valor-software.com/ng2-charts/ I try to set up the barchart. I copy exactly from the demo script: new.html <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script> <script src="node_modules/chart.js/src/chart.js"></script> <script src="bar.js"></script> </head> <body> <div> <div style="display: block"> <canvas baseChart [datasets]="barChartData" [labels]="barChartLabels" [options]="barChartOptions" [legend]="barChartLegend" [chartType]="barChartType" (chartHover)="chartHovered($event)" (chartClick)="chartClicked($event)"></canvas> </div> <button (click)="randomize()">Update</button> </div> </body> </html> bar.js import { Component } from '@angular/core'; @Component({ selector: 'bar-chart-demo', templateUrl: './bar-chart-demo.html' }) export class BarChartDemoComponent { public barChartOptions:any = { scaleShowVerticalLines: false, responsive: true }; public barChartLabels:string[] = ['2006', '2007', '2008', '2009', '2010', '2011', '2012']; public barChartType:string = 'bar'; public barChartLegend:boolean = true; public barChartData:any[] = [ {data: …

Member Avatar
+0 forum 0

I'm running a weather station with daily time lapse videos on my site.. I am wanting to run a calendar on my site so when you click on the day the video will run underneath.. I'm having trouble as to linking the video to the calendar day without creating 365 different pages. Hoping to just run 12 pages, 1 for each month. The page I have is www.hamiltoncityweather.co.nz/vidmar.php.. Any help would be much appreciated.

Member Avatar
+0 forum 0

I have a script that uses grep to extract data from a file. It works but I am now trying to modify the script for pipeline use. If I use the commands: `cat file | myScript.sh` there is an error because the data reaches myScript.sh as it was collected by an echo command (`grep: LINE: No such file or directory`). Is there a way to pass 'file' as an argument to myScript.sh so that grep can work as it was originally meant?

Member Avatar
Member Avatar
+0 forum 1

I have this code that automatic calculate's the total quantity of the two textbox. The problem is it only works on the first row and first modal of the table when i try to click and enter values on the second row with the modal it doesnt work anymore. ![sample.png](/attachments/large/4/df4a066ffa07efde39e7e9df4be57db9.png "align-center") below is the code for calculation of quantity. (Im using the numeral.js for formatting and manipulating numbers.) <script> var a = 0; var b = 0; var c = 0; function calc(obj) { var d = obj.id.toString(); if (d == 'currentstock') { a = Number(obj.value); b = Number(document.getElementById('book_qty').value); } …

Member Avatar
Member Avatar
+0 forum 1

Hi everyone I'm wanderring if their is any way to create a folder name user id when user upload a img And whenever he or she uploads another img It goes directly to that folder I'm new to php Any help is appreciated

Member Avatar
Member Avatar
+0 forum 1

Im working with two different servers. I'm facing difficulty in transferring files between them. Please help me with the same.

Member Avatar
+0 forum 0

For example, in Facebook, if you enter someone's profile you can see all the user's data. I know how to get the logged in user's data. But what I don't know is how to get every single user's data and show them. I searched a lot and all what I got was how to get logged in user's data. I don't want that. Can someone please help me out?

Member Avatar
Member Avatar
+0 forum 4

Hi! I have a problem with try to delete some hide suspicious backlinks. I would like try to solve this problem with the unlink() php function. So the hide backlinks should not dissapear anymore. Is this the right function that might to be work for the problem? function delete($var){ $link = './backlinks/'.$var; unlink($link); } I'm not sure how to delete the backlinks with the backlinks next to it. Any help will be appreciated! Thanks!

Member Avatar
Member Avatar
+0 forum 1

ok, this is possibly an unusual one... I have a friend who owns a shed-load of domain names, which he's always had the intention of setting up with full blown sites over time he isn't a coder, but he is a really good ideas guy Obviously, this means he is paying a load of money out each year for renewals, way too much, thousands! At one point he had close to 3000 names, i think many lapsed but he still has at least a few hundred, maybe even a 1000! So anyway, the here task is to find a way …

Member Avatar
Member Avatar
+0 forum 2

I am literary about to bleed...I have a single controller that will accept POST request from an external domain. Once the post data arrives (usually a number or a date), it returns json data. The problem is CORS error in firefoz and chrome. Only that controller is going to be accessed from other domains. I have tried header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow- Methods: POST, GET, PUT, DELETE, OPTIONS'); header('Access-Control-Allow-Headers: X-Requested-With, content-type, X-Token, x-token'); just after opening the php code, in the constructor and even the method but nothing changes at all. My current htaccess looks like this: RewriteEngine on RewriteCond $1 !^(index\.php|public|\.txt) …

Member Avatar
Member Avatar
+0 forum 2

The End.