2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Barbra_1

Hi there i need help on how I am supposed to do this ER Diagram based on this question. I need to have entities, attributes, relationships and primary/foreign keys. here is the question You are given the following business scenario. SmartService is a newly setup car repair and servicing workshop …

Member Avatar for pritaeas
0
215
Member Avatar for macfan

What about mobile crossapps? Im willing to code one if Dani is busy. What you all think

Member Avatar for Dani
0
149
Member Avatar for Passy

<?php $sql =" SELECT * FROM `comments` "; $result = mysqli_query($db, $sql); while($row = mysqli_fetch_assoc($result)){ $comment_id = $row['comment_id']; $comment_company_id = $row['comment_company_id']; $comment_name = $row['comment_name']; $comment_content = $row['comment_content']; $comment_email = $row['comment_email']; $comment_status = $row['comment_status']; $comment_date = $row['comment_date']; echo "<tr>"; echo "<td>$comment_id </td>"; echo "<td>$comment_name </td>"; echo "<td>$comment_content</td>"; echo "<td>$comment_email</td>"; echo "<td>$comment_status …

Programming php
Member Avatar for pritaeas
0
114
Member Avatar for iraberyl

Hi, its me again. I've seen the other code for looping textbox but it goesn't seem to apply in our script. What we need is a specific text box that loops when the user inputs a certain number of textboxes that he want to put. Example: there's a text box …

Member Avatar for Dani
-1
3K
Member Avatar for Tonny_3

I want to create a triangle with Windows Form in Visual Studio (c# code). In Form1 I have 3 textboxes that the user enters the lengths of the sides of the triangle and 1 "Enter" button. When the button is pressed, Form2 is opened and a triangle is drawn when …

Member Avatar for rproffitt
-1
717
Member Avatar for ppel123

Hello everyone, I have a problem with my app when closing the gui-UI, that is developed in PyQt5. In my app I have 3 discrete threads and one of it using slot-signals for communicating with the gui. The problem I have is that when I close the gui, and the …

0
653
Member Avatar for TIffany_2

#include<iostream> #include<conio.h> //using namespace std; int main() { char name[30], pizza1[]="Chicken Fazita" ,pizza2[]="Chicken Bar BQ" ,pizza3[]="Peri Peri" ,pizza4[]="Creamy Max", roll1[]="Chicken Chatni Roll", roll2[]="Chicken Mayo Roll", roll3[]="Veg Roll With Fries",bur1[]="Zinger Burger",bur2[]="Chicken Burger",bur3[]="Beef Burger"; char sand1[]="Club Sandwich", sand2[]="Chicken Crispy Sandwich", sand3[]="Extream Veg Sandwich"; char bir1[]="Chicken Biryani", bir2[]="Prawn Biryani", bir3[]="Beef Biryani",gotostart ; int …

Member Avatar for tinstaafl
0
473
Member Avatar for Andrew_62

When i run my code i get this error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: How do I fix this? this is my code so far: import java.awt.Font; import javax.swing.*; public class Program7 public static void showOutput(String output) { JTextArea jta = new JTextArea(output); jta.setFont(new Font("Consolas", Font.PLAIN, 60)); JOptionPane.showMessageDialog(null, jta); } …

Member Avatar for Dani
0
440
Member Avatar for JamesCherrill

Hi Guys. I'm getting bored, and so I'm looking at Python for a new challenge. I hoped to be able to use my Java NetBeans IDE to avoid an IDE learning curve, but it seems that NetBeans support for Python died years ago. So, all you Python gurus... what do …

Member Avatar for Reverend Jim
2
1K
Member Avatar for Pirakavi

How can I add href link inside the eventRender and redirect another page with id? function calender(data) { if (0 !== $("#m_calendar").length) { spinner.hide(); var e = moment().startOf("day"); e.format("YYYY-MM"), e.clone().subtract(1, "day").format("YYYY-MM-DD"), e.format("YYYY-MM-DD"), e.clone().add(1, "day").format("YYYY-MM-DD"), $("#m_calendar").fullCalendar({ header: { left: "prev,next today", center: "title", right: "month,agendaWeek,agendaDay,listWeek" } , editable: !0, eventLimit: !0, …

1
61
Member Avatar for Jiwe

Hi everyone! I created a Sudoku game and want to share it with all of you so you can tell me what'y think about it :). I've got 1 year of C++ experience. Game is based on coordinates to put the numbers. --------------------------- List of Commands: --------------------------- When asked to …

Member Avatar for Dwi_3
0
3K
Member Avatar for Patiodude

I've just started working with PHP and MySQL, and I'm trying to create a table in MySQL. If I've got this right, I'm trying to do so by going to my host's SQL MyAdmin page and typing in mysql_query("CREATE TABLE example( id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY(id), name VARCHAR(30), …

Member Avatar for surveypacific
0
884
Member Avatar for may5457

I keep getting CircleInformation.java:13: error: cannot find symbol float circumference = 2 * (PI * radiusF) ^![Screen_Shot_2020-04-20_at_2_19_38_PM.png](/attachments/large/4/dc19daf5031100026891115972a1d2a2.png)

Member Avatar for JamesCherrill
0
706
Member Avatar for Tim_22

I have an issue within my program where it sas the struct I have created is not initialized. Any suggestions? The lab I am working on is Write a program to help a local restaurant automate its breakfast billing system. The program should do the following: Show the customer the …

Member Avatar for tinstaafl
0
608
Member Avatar for littlepr

Guys, What is wrong with my compution here when "hrs" entered is 45? The end result expected si 498.75 but it keeps failing to compute second portion correctly (please see below and attached screenshot). hrs = input("Enter Hours:") h = float(hrs) OvrTimehrs = float(hrs) - float(40) HourlyRate = input("Enter Hourly …

Member Avatar for Reverend Jim
0
503
Member Avatar for ThaboTS

A teacher wants the program to: show a visual representation of a multiplication ask the child to key in an answer E.G 3 x 4 **** **** **** What is the answer? This is as far as I can go Please help. I can't go horizontal. I only go vertical …

Programming vb.net
Member Avatar for ThaboTS
0
488
Member Avatar for Radroad

General Description please please please help please code in python3 let me know if any extra information is needed You have been chosen to create a version of connect 4. In this version, there can be forbidden positions, or places that neither x nor o can play. However, connecting four …

Programming python
Member Avatar for Radroad
0
474
Member Avatar for cqx9

I'm looking for a way to attach listener to a C# variable, so that every time its updated or read, it will execute a function which will go on and process their own variables. I know of the means described below but I'm looking for something that would work like …

Member Avatar for cqx9
0
463
Member Avatar for Janezz

As one of the most powerful tools in Excel, PivotTable has the ability to calculate, summarize, and analyze data, which allows us to see the comparisons and trends of our data more intuitively. In addition, PivotTable also has the ability to sort and filter data, and it can meet our …

Programming java
0
416
Member Avatar for bradly.spicer

Hey guys, I recently started work on Minepress again, I'm having some problems however. I am trying to make a plugin which detects the ip of a minecraft server and results in printing out if its online or not here is display on my site: http://img545.imageshack.us/img545/4404/beaa1f33dce74c6dbee14e6.png as you can see …

Member Avatar for johnie_1
0
415
Member Avatar for R_4

How can i check if email exists i have this code but it is not working <?php include "Config.php"; function mksafe($data){ $data=trim($data); $data=strip_tags($data); $data=htmlspecialchars($data); $data=addslashes( $data); return $data; } $fname = mksafe($_POST["fname"]); $lname = mksafe($_POST["lname"]); $email = mksafe($_POST["email"]); $sql = "SELECT * FROM `users` WHERE `email`=$email"; $result = $conn->query($sql); if($result->num_rows …

Member Avatar for R_4
0
399
Member Avatar for Radroad

I want to make this code so I can pick exactly where to place my pieces. Right now you can only drop the pieces and it drops all the way to the bottom. What if I want it to be in the middle. Kind of like tic tac toe if …

Programming python
Member Avatar for Radroad
0
292
Member Avatar for SoftBa

Hi, I have one form with multiple reading data (using BindingSource) and I want to store those data + some text entry to third table (also using BindingSource DataGrid) Is it possoble to do that using sql statement ? I have connection to database. Picture is to show what I …

Member Avatar for SoftBa
0
278
Member Avatar for larry29936

I have some inline css that I'd like to add to an existing styles.css file but have no idea what the format needs to be. Here's what the inline css looks like: <style> .container { display: flex; max-width: 1350px; margin-right: auto; margin-left: auto; padding-top: .3rem; padding-bottom: 1.5rem; } .divL { …

Member Avatar for Dani
0
261
Member Avatar for johncam

Hello Everyone, I have some clients and I manage website hosting for few of them. One of my client (Ecommerce store) went live on Product Hunt on Tuesday and his website crashed. Though I have fixed the issue, but I think I cannot work with shared hosting plan in long …

Member Avatar for johncam
0
180
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 …

Member Avatar for Dani
0
172
Member Avatar for esyah

the error is at the curly brace under void main() line 28 can some one help me...pleasee #include <iomanip> #include <curses.h> #include <stdlib.h> #include <fstream> #include <iomanip> #include <cmath> using namespace std; //nonvoid function int main() { } float Final_pt(float GP_work,float GP_exam,int Eval) { float Grade_n, Grade; if(Eval==1) Grade_n = …

Programming c++
Member Avatar for Reverend Jim
0
118
Member Avatar for ppel123

Hi everyone, I am working on an app and trying to create a corrector and I am using keyboard module for the correction. I have created a class, which reads pressed events and displays them to screen, and its action are dependent to a variable passed to the constructor. If …

Member Avatar for Dani
1
973
Member Avatar for Jorge_19

hello, I need to add items in the 'ide' element, so that it looks like the example below saving in XML (thank you!). The example I need: `<ide> <cUF>43</cUF> <cCT>00000004</cCT> <CFOP>6353</CFOP>... </ide>` In the current situation, Im getting only `<cUF>:` <?xml version="1.0" encoding="UTF-8"?> <CTe xmlns="http://www.portalfiscal.inf.br/cte"> <infCte versao="3.00" Id="CTe43120178408960000182570010000000041000000047"> <ide><cUF>43</cUF></ide> </infCte> …

Member Avatar for Dani
1
574
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 …

Member Avatar for Biiim
0
539

The End.