- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 198
- Posts with Upvotes
- 161
- Upvoting Members
- 104
- Downvotes Received
- 9
- Posts with Downvotes
- 9
- Downvoting Members
- 6
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 … |
|
Can anyone help me explain what is Machine Learning? I have been googling for the subject and still do not understand what it is. Please help. 1) How could a Machine learn about information? By finding an equation of a pattern? or by having the user inputing a new information … |
|
Hello i am getting an error on a CASE WHEN THEN syntax on my mySql SELECT DISTINCT u.uid,c.c_id,u.name,u.profile_pic,u.username,u.email,c.time FROM conversation c, users u, conversation_reply r CASE WHEN c.user_one = '99' THEN c.user_two = u.uid WHEN c.user_two = '99' THEN c.user_one= u.uid END AND ( c.user_one ='99' OR c.user_two ='99' ) … |
|
I'm trying to save DaniWeb. :) What are the biggest pain points you have with DaniWeb? If you don't visit DaniWeb as much as you used to, what changed? Where do you go now instead of DaniWeb? What makes other resources better? |
|
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 … |
|
i'd like some help writing an sql statement that brings back the shows in a specific category. For example an sql statement that will bring back shows from the action genre in the tables below ![NPFXq.png](/attachments/large/4/184a0604556473722e1c584d4929caf6.png) |
|
$table = "<table>\n"; for ($i = 0; $i < sizeof($rounds); $i++) { $table .= "<tr><th>Week #: " . ($i + 1) . "</th><th>Match</th><th>Away</th><th>Referee</th></tr>\n";//table headers foreach ($rounds[$i] as $r ) {//iterate through an array $table .= "<tr> <td> Day :</td> <td> $r </td> <td>".$r["Away"]."</td><td> </td></tr>\n"; //i want to store values of … |
|
I have a table on my web page that is currently updating with random Data, see below: function changeContent(){ var i = 1; var len = numberRows; var random1 = Math.floor( Math.random() * 90 ) + 10; var random2 = Math.floor( Math.random() * 90 ) + 10; var x=document.getElementById('myTable').rows; var … |
|
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 … |
|
There is javascrit functio is calling on button click and this form get created by Iframe i just want to set link to be open in new tab or window top.location.href=queryString; return false; this is redirection link but opening is same page I want this to be open in new … |
|
Hi there! I am creating a toggle in pure css without jquery or javascript and its look like it hasn’t work yet. The problem is Css div alignment. Its not perfectly aligned. I am trying to achieve are in the attachment kindly look: HERE IS DEMO: https://jsfiddle.net/navjot789/2fcLvmrj/ and its seems … |
|
i am a student of diploma in electronics and telecomm can anyone suggest me projects related to the below domains:- wireless communication power electronics electrical and electronics IOT Biomedical Instrumentation and control system embedded system |
|
hello everyone.. i am a final year student. we are asked to do a project in networking.. what kind of project in networking should i do.. i confuse what kind of project should i do.. i am in need of a project topic which is feasible and can be finished … |
|
New to Python. Background from TRS basic thru several versions of basic and ending with Qbasic, some Perl and now trying Python. I get the following error and have no idea what is causing it. There would be 11 catagories and some catagories could have multiple entries for the period. … |
|
In this query i want to display the unbooked rooms, but the booked rooms are displayed instead of the unbooked rooms... create table guest ( guest_id int auto_increment primary key unique not null, guest_lname varchar(50) not null, guest_fname varchar(50) not null, guest_email varchar(100) not null, guest_password varchar(50) not null, guest_address … |
|
Are there any scripts that can go through a collection of PHP files and detect multiple functions with the same name? |
|
Hello .Im a final year student in bachelor of science computer in web technology. I need your suggestion for my final year project title.Do you have any related ideas? |
|
I want to focus a lot on developing new features for DaniWeb, and getting us back to our former glory. However, a lot of doing that requires the community's investment and involvement in Dazah. Who out here in Internet land has any interest in building a Dazah app? If no, … |
|
hi all im getting the following error PHP Notice: Array to string conversion in /home/public_html/includes/database.php(23) : eval()'d code on line 1 in this file <?php $link = @mysqli_connect($hostname, $username, $password, $database); if (!$link) { die('Could not connect !'); exit(); } else{ mysqli_set_charset($link,'utf8'); } $sqlcf = 'select Variable, Value from '.$table_prefix.'site_settings … |
|
Hi, I am working on a project to view pdf files online and merge it into single pdf file. For that, I don't know which programming language and tool is best for it. Kindly assist me in this issue. Personally i know PHP very well. So if you know tools … |
|
why at line 12, the expression : (char*)str+3 , adds the 2nd index to the string? for example when str="123123" , (char*)str+3 is "3123" instead of "123" ? input: 3 0 3 123123 output supposed to be: "Mybcmp result: 0" since the 3 indexes that's compared from b1="123123" and b2="123" … |
|
I am writing a CLI application in PHP and I can't seem to understand why my MySQL Class that uses PDO will not get past the PDO or even error. I have made sure error reporting was enabled in my php.ini. PHP version is 7.1.3 on Windows 10. Here is … |
|
//Create a random 10 character password with the first character being a upper case letter. The remaining characters are random selections of Upper case //letters, lower case letters, 9 digits and/or special characters (found only on the top row of your keyboard). Please exclude 0 and O's from being used.After … |
|
I have this code, it only inserts the first $listing, then the others are ignored, mysqli_query doesnot return any errors, I was having a issue with column being truncated, but I fix that issue, When I copy and paste the $sql1 on phpmyadmin, it works with no issues. $resource = … |
|
hi im attempting to update a script from coryApp and im getting the following error PHP Notice: Undefined offset: 11 here is the code where it is coming from can someone point me in the right direction on this ty jan x <td width="15%" class="headrows4" valign="top" align="left"> THIS LINE >>><p><input … |
|
Hello everyone how are you doing? I wonder if there is a way i can send a notification or URL from my website to user mobile from PC browser for free, just to confirm the user is real? |
|
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 src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script> </head> <body> <script> FusionCharts.ready(function () { var revenueChart = new FusionCharts({ type: 'doughnut2d', renderAt: 'chart-container', width: '450', height: '450', dataFormat: 'json', dataSource: { "chart": { "caption": "", "subCaption": "", "numberPrefix": "$", "paletteColors": "#5b9bd5,#ed7d31,#f2c500,#f45b00,#8e0000", "bgColor": "#ffffff", "showBorder": "0", "use3DLighting": "0", … |
|
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": … |
|
From Stardock's newsletter I read "Handles are killing your PC" and checked in on the apps and handles to discover the stock Killer Network app was way out there at over 906,000 (906 THOUSAND) handles. This was a pretty interesting find and had me off to the maker for latest … |
|
program1.php <html> <header> <script> function myFunction(p1, p2) { return p1 * p2; } document.getElementById("demo").innerHTML = myFunction(4, 3); </script> </header> <body> <div id="demo"></div> </body> </html> I don't understand why the above code does not show any value? and why this one does? program2.php <html> <body> <div id="demo"></div> <script> function myFunction(p1, p2) … |