Categories

Learning PHP, MySQL, and JavaScript: A Step-by-Step Guide to Creating Dynamic Websites (Paperback)

Learn how to create responsive, data-driven websites with PHP, MySQL, and JavaScript — whether or not you know how to program. This simple, streamlined guide explains how the powerful combination of PHP and MySQL provides a painless way to build modern websites with dynamic data and user interaction. You’ll then learn how to [...]

Ajax and PHP Stock Quote example

This isĀ  a new source code section so we thought what could we have as a useful first example using Ajax, PHP and a bit of JavaScript. A stock ticker example. Lets go

Part 1 : Is the form itself.

<html>
<head>
<script type=”text/javascript” src=”getstock.js”></script>
</head>
<body>
<form>
Enter your stock ticker symbol:
<input type=”text” id=”txt1″ size=”30″ onkeyup=”showQuote(this.value)”>
</form><p>
<div id=”stockOutput”>
<b>
</b>
</div>
</p>
</body>
</html>

Part 2 : This is the [...]