Posts by Diana Madeira • 485 points
52 posts
-
0
votes1
answer117
viewsQ: input password in css does not work
I use the same CSS code for both the input "text" and the password, but for one it works and for the other it doesn’t:(see photo) Code in CSS #contact input[type="text"], #contact…
-
0
votes1
answer90
viewsQ: map <iframe> overrides options bar
I created a class to be able to apply the CSS, I already changed the relative positioning to absolute and yet it continues as it is in the photo. I need the bar to not overlap with the map and the…
-
1
votes0
answers53
viewsQ: EDR diagram creating an online shop
I am trying to create a diagram EDR, I believe on the part of customers I have well made connections, but on the side of the administrator who has access to everything, product information, order…
relational-modelasked Diana Madeira 485 -
1
votes1
answer141
viewsQ: non-responsive html text
Both the title <h1> as the paragraph <p> I can’t get him responsive. Code: #h1{ color:#3396ff; position: absolute; left: 36%; top: 70px; text-align:center; } #p{ position: absolute; top:…
-
2
votes1
answer32
viewsQ: Responsive on PC but not on tablet or mobile phone
background-image: url("../assetsimages/book.jpg"); background-size: 100% auto; background-repeat: no-repeat; max-width:auto; height: auto; As you can see on tablet and mobile phone is not responsive…
-
1
votes3
answers70
viewsQ: Non-responsive image
On larger screens the image duplicates and I want that not to happen. I’m using the following code: background-image: url("../assetsimages/book.jpg"); background-repeat: repeat; max-width:100%;…
-
1
votes1
answer5710
viewsQ: Invalid SQL identifier - Oracle
CREATE TABLE IndustrialUnit ( UnitId NUMBER (7,2) PRIMARY KEY, Location_place VARCHAR(50), Country VARCHAR (50), FOREIGN KEY (ProdId) REFERENCES Production(ProdId) ); When I try to define the…
sqlasked Diana Madeira 485 -
0
votes1
answer123
viewsQ: Sql does not return column name
I have two tables a TEAM another MATCH_DETAILS. The table TEAM has the spine id and is a primary key. I made two table reports TEAM for MATCH_DETAILS. In the MATCH_DETAILS assumed as foreign key…
-
1
votes1
answer39
viewsA: SQL query returns duplicated and error value
I’ve come to the conclusion of how you do: SELECT Player_name, Subscription_id,Date_subscription,Amount_paid,Attendance_id,Training_date FROM PLAYER p,SUBSCRIPTION s, Attendance a WHERE…
sqlanswered Diana Madeira 485 -
0
votes1
answer39
viewsQ: SQL query returns duplicated and error value
I have the following query but it is returning duplicate and wrong results. Arthur should show 0 and not 30.…
sqlasked Diana Madeira 485 -
1
votes1
answer394
viewsQ: Error in query INSERT INTO
I’m new using Oracle SQL Developer and I’m trying to make the query run but this appearing error, see photo.…
-
1
votes1
answer42
viewsQ: Problem in defining Foreign key
I’m learning now database. I’m not getting why not let me set team_id as Foreign key.…
-
1
votes1
answer928
viewsQ: How to set Foreign key in oracle SQL Speed?
I am new using this program, as defined Foreign key in oracle SQL?…
-
1
votes3
answers932
viewsQ: Current or formal argument lists differs in length
I have the following code snippet: import java.util.Random; import java.util.Scanner; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTextArea; import java.io.*; import…
javaasked Diana Madeira 485 -
-1
votes2
answers100
viewsQ: Problems in creating class and method
I have the following code: public class String verifyWord(String wordChosen, Scanner reader){ //linha 1 boolean answeredCorrectly = false; int tries = 1; String wordChosen = random.nextInt(); String…
-
1
votes1
answer1320
viewsQ: JAVA - Generate a random & scrambled word
I intend to generate a randomized, scrambled word from a vector. It’s already generating a random word, but it’s not scrambled. I created a method called Scramble where the words will be shuffled…
-
3
votes2
answers51
viewsQ: Is there a tool for viewing a website in all screen sizes?
I’m making a responsive website but I happen to need a tool to see if it’s looking good on all screen sizes. Any suggestion?
responsive-layoutasked Diana Madeira 485 -
0
votes1
answer28
viewsQ: PHP & SQL-Query is not being read
I have the following code, something is happening but I can’t understand why. I mean the query is not being read, echo appears immediately saying "error" <?php $_SESSION['message'] ='';…
-
1
votes2
answers70
viewsQ: CSS - aligns images
I have the following HTML code: <div class="book"> <div class="book-image"> <?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $books->Image ).'"height="180"…
-
0
votes1
answer32
viewsQ: CSS - inputs are not aligned
I have the following code: <span class="input-label">New Password:</span> <input id="password" type="password" name='password' placeholder="Insert new password"> <br>…
-
0
votes0
answers108
viewsQ: Image upload without refreshing page
I have the following code that allows you to choose a file and upload it (VIEW IMAGE). I have a form with several inputs and in the end it is possible to upload an image. the problem with my code is…
-
0
votes1
answer73
viewsQ: PHP - upload an image
I have the following code to upload an image: var_dump ( $_FILES ); $target_dir = "uploads/"; $target_file = $target_dir . basename ( $_FILES ["fileToUpload"] ["name"] ); $uploadOk = 1;…
-
0
votes2
answers87
viewsQ: Query INNER JOIN apply bind parameter
Original query: SELECT quantity.order_id, quantity.ISBN, quantity.quantity,orders.customer_id, orders.created, orders.status FROM orders INNER JOIN quantity ON orders.order_id=quantity.order_id"…
-
0
votes2
answers103
viewsQ: PHP-code conflict - blank page
The following code allows the user to log in and direct to a particular page, or log in as an administrator and direct to another page. The user login is working, however when logging out appears…
-
0
votes1
answer490
viewsQ: Error "Trying to get Property of non-object" when using mysqli_stmt_fetch
I have the following error "Trying to get Property of non-object on line 22" in the following code: <?php require('config.php'); if (isset($_POST['email'])) { $email =…
phpasked Diana Madeira 485 -
0
votes1
answer929
viewsQ: Call to a Member Function fetch_object() on a non-object
In the following code, the following error occurs, which I cannot understand why: Call to a Member Function fetch_object() on a non-object at line 21 <?php require('config.php'); if…
-
0
votes0
answers17
viewsQ: PHP-so sends links to gmail emails
I have the following code that sends a password reset link, but the problem here is that if the email requesting a new password is gmail.com sends without any problem but if it is another email like…
phpasked Diana Madeira 485 -
-1
votes3
answers47
viewsQ: PHP-error but still sends what is requested
I have the following code, if I do not make a particular request it sends an error, if there is no such error send email to the user. the problem is that in addition to appearing the error and also…
-
2
votes0
answers64
viewsQ: PHP - password reset code problems
I am trying to create a link that is sent to the user so that I can reset the password: I have the following code that sends the code to the user: <?php include("config.php");…
-
2
votes2
answers63
viewsQ: PHP errors/warnings parameter 1 & 2
In my PHP code appear the following "warnings": Warning: mysqli_query() expects Parameter 2 to be string, Object Given in line 8 Warning: mysqli_num_rows() expects Parameter 1 to be mysqli_result,…
-
2
votes1
answer399
viewsQ: HTML & PHP - HTML code simply not read
I have following code on the part of PHP does not present any error, the page appears blank and does not show the HTML code. <?php include("config.php"); if($_GET['key'] &&…
-
1
votes3
answers268
viewsQ: Use HTML in PHP
I have the following code that’s not working. echo "<a href='memberarea.html'><span class="glyphicon glyphicon-lock"></span> Member area</a>"; I think I’m not doing well the…
-
1
votes3
answers763
viewsQ: How to enter HTML code in PHP
I have the following PHP code: <?php include("config.php"); if(!isset($_SESSION['user'])){ echo "you are not logged in,please click here to <a href='memberarea.html'>Login</a>"; }…
-
0
votes2
answers845
viewsQ: HTML & PHP -Make a log in button log out
I have my PHP code created for both log in and log out, I confess that I have read several articles on google how to turn a log in button into log out but I confess that the read did not help at…
-
0
votes2
answers30
viewsQ: PHP - allow only one area of the website to the user
I have a search bar that only registered people can access. So far so good my code is working, the problem with every search in the search bar credentials are requested, IE, my code always requires…
-
-1
votes1
answer916
viewsQ: Object of class mysqli could not be converted to string
I’m having the following mistake: Object of class mysqli could not be converted to string. PHP code: <?php include("config.php"); $query = $_GET['query']; $min_length = 3; if(strlen($query) >=…
-
1
votes1
answer7924
viewsQ: CSS - positioning an element on the right
I want to position the div "bookright" on the right side of the HTML page I think I have the correct CSS code but it’s not working yet. pf see the photo, right now appears under the image, I want it…
-
0
votes1
answer222
viewsQ: Javascript - validate form if clickado
Within a <form> I have two formularies but one is not mandatory, only if the person wants to enter a new address. the problem that this happens is that regardless of whether the person clicks…
-
0
votes1
answer105
viewsQ: HTML & Javascript - validation does not work
I have the following HTML form: <form name ="form" class="signupform" action="signup.php" method="post" onsubmit="Valitedata()" enctype="multipart/form-data" autocomplete="off">…
-
1
votes4
answers687
viewsQ: CSS - styling a hyperlink
I have a hyperlink that I need to style using CSS doing that looks like a button this with clear CSS, my question is that as I call a hyperlink in CSS, already tried with div, already tried to…
-
-1
votes1
answer881
viewsQ: HTML-footer overrides the HTML content
The footer I have overlaps with the body contents. I’ve put the footer inside the body and outside it and yet I have this problem. please see image: http://imgur.com/a/TJkti , as I have this form…
-
0
votes1
answer1403
viewsQ: html & CSS - align inputs
I have the following HTML code: First Name:<input type="text" placeholder="First name" name="first_name" required> <br> Last Name:<input type="text" name="last_name" placeholder="Last…
-
0
votes1
answer369
viewsQ: CSS - bar (decoration)
I’m trying to create a bar like the one in the image, the bar that has product etc. I have the following code: <div id="topcart"> <thead> <tr> <th>ISBN</th>…
-
0
votes1
answer98
viewsQ: Show row by row in a table
Editing to put all the code that is on the same page. <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script> <script…
-
0
votes3
answers677
viewsQ: reduce the size of an image in the database
I have a table that shows the contents of a database, one of the contents is an image, call the image as follows: <td><?php echo '<img src="data:image/jpeg;base64,'.base64_encode(…
-
0
votes1
answer32
viewsQ: php/sql - phpmyadmin binary value show on web page
I have a database of books each book has its ISBN, title etc and even has an image, which I uploaded in the database for each book. but the problem is that the image does not appear, does the image…
-
0
votes2
answers593
viewsQ: php-upload image and upload to database
I’m trying to insert an image into the database but when I click image upload, it gives the following error: Warning: getimagesize(): Filename cannot be Empty in…
-
0
votes3
answers1184
viewsQ: javascript numeral validation
I am trying to validate a form. the user can only instill numeral values. I did it this way but it’s not working function ValidateContactForm() { var year = document.ContactForm.year; if (year.value…
-
1
votes2
answers155
viewsQ: validate <form> with Javascript
I’m trying to validate a <form> with Javascript, but the code I created is not doing anything. seems right to me. HTML code <form name="ContactForm" action="addDataAdmin.php" method="POST"…
-
0
votes1
answer358
viewsQ: contact form in HTML and PHP
I created a contact form in HTML : <form id="contactform" method="post" action="contact_form.php"> <h3> Get in touch</h3> <h4> Fill in the form below, and we'll get back to…