- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 1
- Upvoting Members
- 2
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 3
9 Posted Topics
Re: Write a program that stores a library of books based off their publishing YEAR. You should be able to refernce a list of books when the year is called. You should have the years 2000-2010. (HINT: USE HASHMAPS). | |
Re: Use Java. JVM is one of the better networking compilers plus, there are no external libraries needed. Here is a client program import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import java.net.UnknownHostException; public class client { public static void main(String args[]) { int portNum = 8080; String hostNam … | |
Re: A good way to do it is, <?php include("foobar.html"); ?> | |
Re: $foo = $_POST["bar"]; With the HTML: <form action="foobar.php" method="post"> | |
Re: Try this: <?php $from = $_POST["name"]; $mailer = $_POST["email"]; mail("someemail@something.com", "Contents", "Subject", $from); ?> and this HTML to follow(Note: this is from a website I made, so keep in mind that is is quite raw): <html> <head> <title>Abby Phillips</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script> $(document).ready(function() { $("#ld1").css('background-color', 'blue'); $("#ld2").css('background-color', 'blue'); $("#ld3").css('background-color', 'blue'); … | |
Re: From what I can see on your code, your going about this in a very difficult manner. The easiest way to load an XSL stylesheet is this <?xml-stylesheet type="text/xsl" href="style.xsl"?> Do this just after <?xml version="1.0" encoding="UTF-8"?> Before, you were relying on namespaces instead just directly refering to your XSL … | |
Re: Try along the lines of, but not exactly(just an example), <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="css.css"?> <notes> <note> <to>Tove</to> </note> <note2> <to>Jove</to> </note2> <note> <to>Gove</to> </note> </notes> And a CSS file as note { background-color:red; } note2 { background-color: yellow; | |
Re: Just a stab at the dark, but what I think you want is "||" for OR. | |
Re: First, you must intall Node.js. After that, you create a new JS file, and put this in it... var app = require('express')(); var http = require('http').Server(app); app.get('/', function(req, res) { res.sendFile(__dirname + '/chat.html'); }); http.listen(3000, function() { console.log("Loaded!"); }); Then, you must create an HTML file to be displayed. <html> … |
The End.