yeh but if they'll have to be different for every page.
all css is in a folder called c.
so for about/history to get at it it's ../../c/style.css
but for about/ to get at it it's ../c/style.css
is there's something gapingly obvious that i'm missing here, i'm really rusty on web programming.
thanks that works if put into every index.php file, but i want to do is have something like this.
header.php
<? /* ================================================= */
//echo $_SERVER['PHP_SELF'];
$c = 0; $pa = "";
$filename = explode("/", $_SERVER['PHP_SELF']);
$filename2 = "";
?>...
how's it going folks.
i've been given a task to cleaning up a website that was written about 3-4 years ago.
the site structure looks like this.
html
+----about
+----history
+----index.php (site.com/about/history/)
+----index.php...
ok i've got this working, but i've snagged another problem.
i get the results i want for a SOAP request.
$response = $API->search_rental($parameters);
$results = $response->results;
print "$results->search_sentence <br />";
foreach($results->ads as $ad)
{...
well it's for a test for a job.
basically they specify that the key data that i want could be in any format and just give them four examples.
they say that things like number of bedrooms will always be an int and not string ie. 4 instead of "four" same for the money values.
just really hit a...
hey guys bit of a pickle here.
i have example text that i get from a text box from a user and looking at the best way to split them up using the least amount of code possible.
i have a php class that stores
number of rooms [1,2....10]
type [rent/let or sale]
area [the area it's in]...
sorry the first code example i posted was checking for five of a kind, just noticed now, and have edit the original post.
i have this method for doing a straight.
public void straight(){
face_values();
java.util.Arrays.sort(face_value);
for(int i=0 ; i < face_value.length ; i++){...
i'm trying to develop this very rudimentary dice game in java that gives the player five values (out of 6 from a dice) at random and then do scoring based on what values their dice have.
i'm using standard poker hands like pair/three of a kind/two pair/full house (pair and a three of a kind)/...
right i'm doing an assignment for college - for an optional subject i didn't want to pick as i had three subjects and had to pick two - and i can't get my head around it.
basically the assignment is to find bugs in a java project in eclipse using Junit tests. This i found was the easier bit...
as far as i can remember i remember selecting Xcode tools when installed os x (i upgraded hard drive so i had to reinstall).
i'll install it again and see.
thanks
i've tried downloading eclipse direct link here
and made a project and tried building a simple hello world program.
when i build (command+B) i get a message in the console:
(Exec error:Cannot run make)
then if i do a run (shift+command+F11) i get this in a pop up window.
"Launch...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.