Posts
 
Reputation
Joined
Last Seen
Ranked #196
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
96% Quality Score
Upvotes Received
198
Posts with Upvotes
161
Upvoting Members
104
Downvotes Received
9
Posts with Downvotes
9
Downvoting Members
6
26 Commented Posts
11 Endorsements
Ranked #170
Ranked #190
~287.27K People Reached
Favorite Tags
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 …

Member Avatar for Bharath_6
0
11K
Member Avatar for davy_yg

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 …

Member Avatar for Reverend Jim
0
512
Member Avatar for SimonIoa

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' ) …

Member Avatar for Viki_1
0
5K
Member Avatar for Dani

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?

Member Avatar for happygeek
2
6K
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 LegateLucius

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)

Member Avatar for ryantroop
0
337
Member Avatar for Jara_1

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

Member Avatar for ryantroop
0
431
Member Avatar for Andrew_52

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 …

Member Avatar for ryantroop
0
570
Member Avatar for Robert_79

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 …

Member Avatar for alan.davies
0
449
Member Avatar for durgeshmandal

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 …

Member Avatar for ryantroop
0
183
Member Avatar for navjot_2

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 …

Member Avatar for John_202
0
618
Member Avatar for Sdark

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

Member Avatar for rproffitt
0
349
Member Avatar for Khairul_1

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 …

Member Avatar for rproffitt
0
499
Member Avatar for Otto_1

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

Member Avatar for ryantroop
0
1K
Member Avatar for Jun_7

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 …

Member Avatar for ryantroop
0
542
Member Avatar for Dani

Are there any scripts that can go through a collection of PHP files and detect multiple functions with the same name?

Member Avatar for pty
0
407
Member Avatar for Nurul_3

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?

Member Avatar for happygeek
0
663
Member Avatar for Dani

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

Member Avatar for Dani
0
2K
Member Avatar for janicemurby

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 …

Member Avatar for alan.davies
0
3K
Member Avatar for hamzamuradkhanh

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 …

Member Avatar for hamzamuradkhanh
0
490
Member Avatar for Adm666

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

Member Avatar for Ren C
0
422
Member Avatar for kennyL

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 …

Member Avatar for kennyL
0
559
Member Avatar for emilio_3

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

Member Avatar for ryantroop
0
567
Member Avatar for elamigosam

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

Member Avatar for elamigosam
0
358
Member Avatar for janicemurby

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 …

Member Avatar for ryantroop
0
3K
Member Avatar for Stefce

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?

Member Avatar for ryantroop
1
606
Member Avatar for davy_yg

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", …

Member Avatar for ryantroop
0
407
Member Avatar for davy_yg

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": …

Member Avatar for ryantroop
0
429
Member Avatar for rproffitt

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 …

Member Avatar for ryantroop
0
700
Member Avatar for davy_yg

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

Member Avatar for ryantroop
0
456