$extras = $_GET ['extras'];
if ($extras == "mints")
{
$extracost = 5;
}
elseif ($extras == "shovel")
{
$extracost = 8;
}
elseif ($extras == "straw")
{
$extracost = 20;
}
elseif ($extras == "camel food")
{
$extracost...
User Profile
Collapse
-
Is this your css file if it is you need to put the image tag in your html file with the div class i.e
html file
<div class = "image">
<img src = "image.jpg" >
css file
.image {
float:left;
width: 20%;
border: thin solid black;
padding: 10px 20px 40px 5px;
margin: 50px;
font-family:arial;
}
this is within...Leave a comment:
-
i have a if loop where if the users chooses an option a price comes up i want images which i already have to come up depending on the optionLeave a comment:
-
images with php
how do i put an image in my php script. i want to be able to do it so that the whatever choice they make a picture comes up , i can do if else if loops for everything but cant put an image in could someone give me an outline on adding images
thanx -
java with html
i dont quite understand my homework this week , i need to write a file using printwriter which im fine with , but it needs to make a html table in the file how do u make html files in java i havent got any code yet since im very confused -
-
sorry i dont know what code tags are
i added
catch (Throwable e) {
System.out.prin tln ("exception" );
}
and tried
catch (Exception e) {
System.out.prin tln ("exception" );
}
is this what you meant because it didnt work thank for replying thoLeave a comment:
-
Exceptions programming problems
Heres my code , this is a homework i dont understand why it doesnt like my driver (tutor provided driver , not meant to change it), error says unreported exception java.lang.excep tion must be caught
import java.util.* ;
public class ExceptionHomewo rk
{
Scanner scan ;
int data;
int slot;
int[] value;
/**
* Constructor for objects of class
* ExceptionHomewo rk... -
changed some of the code but now it doesnt like my driver which i dont know why, error says unreported exception java.lang.excep tion must be caught
import java.util.* ;
public class ExceptionHomewo rk
{
Scanner scan ;
int data;
int slot;
int[] value;
/**
* Constructor for objects of class
* ExceptionHomewo rk
*/
public...Leave a comment:
-
catching exceptions
hi i need to catch and try exceptions , one for int and one for an array out of bounds i dont undertand how my code is'nt working for array out of bounds heres my code
import java.util.* ;
public class ExceptionHomewo rk
{
Scanner scan ;
int data;
int slot;
int[] value;
/**
* Constructor for objects of class
* ExceptionHomewo rk... -
hi found great installer xammp , installed apache , php and sql for me , but thanks for your helpLeave a comment:
-
/yeah i did this thanx but it says something about a email address...Leave a comment:
-
no it said to install the php installer then it said do u want to install apache...Leave a comment:
-
manually configure apache
Hi im a beginner in this so sorry. i download php using the installer where they asked if i wanted them to configure apache i clicked yes then got error saying i had to manually configure apache.
can someone help or give me a website to download apache on a installer.
Thanx for ur help -
i've changed that but still have an error it says that my face class is not abstractLeave a comment:
-
smiley face
Hi i have a homework on drawing a smiley face then pressing a button to draw a sad face i have some code but nothing works i keep getting an error on my action performed method. can you please look and give me some tips thanx
...Code:import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.awt.event.*; public class Face extends JFrame implements ActionListener
-
-
i found out i do but now i have new problem lol using css , i cant put text under my images...Leave a comment:
-
putting text under floating images
Hi under my floating images i cant get text under them why not? it goes to the side
<!--navigation menu-->
<div id = "mainnavigation ">
<a href = "home.html">Hom e</a> |<a href =
"about.html">Ab out |</a><a href="camels.ht ml">Camels |</a><a href = "extras.html">E xtras |</a>
<a href = "adoptions.html ">Adoptions... -
No activity results to display
Show More
Leave a comment: