431 Posted Topics
Your code above doesn't actually include anything on your sessions? Theres just `session_start()`? because my guess at the minuete is that there is an error either writing into your session or echoing out of it. I need to see everything concerning the sessions to help on this.
Well first you need: `<select name="city"><option>...</option></select>` and the PHP: $sql = "SELECT * FROM sellers WHERE city='".mysql_real_escape_string($_POST['city'])."'"; $res = mysql_query($sql); echo '<table> <tr><td>...</td></tr>' while($row = mysql_fetch_assoc($res)){ echo "<tr><td>".$row['some_colmn']."</td><tr>"; } echo "</table>"; The above will generate a table populated with every row in the database with the selected city... :)
I'm professional now, and 100% of that comes from self-research. It is without doubt the best way to learn. > do research. If they still couldn't figure it out then I'd help them Ancient Dragon sounds exactly the same as my professor at oxford!!! The best years of my life, …
Here is a decent validation script to work from: http://www.javascript-coder.com/html-form/javascript-form-validation.phtml
For an old project, I used this [JPowered](http://www.jpowered.com/graph_chart_collection/download.htm) Which does the graph work, all you have to do is echo some information into the script, it does all of the maths, and it works really well and easily
Right everyone, here's my problem. I have just paid £45 for a book on Qt, have had a nightmere getting it sorted, and finally I can build apps to this extent... I have an app, *test.pro*. I have built it using `qmake test.pro` -> `make` which works. I am using …
phpMyAdmin export is the best and safest way to back anything up to be honest
Going on your link, are you looking to do the *1940s, 1950s etc*, or the individual years and popups over at the bottom? The *1940s, 1950s etc* bit would be easy to set up, and so would individual dates, but placing them accross the images at an accurate distance would …
So let me get this, you've written a HTML page with PHP inserting some content into it, and when you refresh the page it won't display? Would love to help but I cannot quite see where you are coming from...
same with dreamweaver cs5, gEdit + gcc-make, Qt IDE etc
The PHP date is when the server generates a date and sends it to the user for viewing. The only way to do this is by using Javascript: 1. Get Javascript to refresh the page 2. Get Javascript to just do the count down ([click here](http://stackoverflow.com/questions/1191865/code-for-a-simple-javascript-countdown-timer)) Feel free to PM …
AHarrisGsy has started on the HTML, but you're going to have to use Javascript jQuery to get it to show onclick I'm afraid.
I've tried to look into it for you, but just to confuse you even more, I have firefox and I cannot see any differance, so I cant fix it until i know what it should be like... It seems to be a fault occuring in both: First you need to …
maybe and `<iframe>` such as: <html> <head> <script language="JavaScript" type="text/javascript"> <!-- function changeFrame(newPage){ document.getElementById('myframe').src = "results.php?category=" + newPage; } //--> </script> </head> <body> <div align="center"> <select id="menu"> <option id="category1" onClick="changeFrame(this.id)">Home</option> <option id="category2" onClick="changeFrame(this.id)">About</option> <option id="category3" onClick="changeFrame(this.id)">Contact</option> </span> <br><br> <iframe src="default.html" id="myframe"></iframe> </div> </body> </html>
Diafol is right, Twitter bootstrap is brilliant, I have used it on many projects and it is really very good
Just as a quick note I believe that your HTML locating the jQuery file should go as (Using the **http://** to locate the JQuery file: <script src"http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> Aside from that (and actually answering your question), we are still clueless to why this is happening, so I suggest testing to diagnose …
Hi all, Have had all too meany google refferals not to be a member here, and it seems a really good community with a brilliantly designed site!!! Can't wait to start learning Mattster
When I started out, I used NVU. Its a good suite but a pain for coders. You really need the HTML and CSS first. You can do this with a text editor to really practice this the hard way if you want (but I would recomend and IDE). Try downloading …
LastMitch is correct on both the css hover and the links. The reason they are not working as there is no `<a href="">` link, but as you are using a `div`, I would reccomend trying `<div style="" onclick="window.location='mypage.html'">` - otherwise you might have a nightmere with inserting an `<a>`
I've had a go at fixing it, and Ive found the solution! try this css: #nav a { display: block; color: #474747; text-transform: none; font-size: 13px; text-decoration: none; background: none; padding-top: 15px; height: 20px; padding-bottom: 0px; padding-right: 15px; padding-left: 15px; } #nav { list-style: none; text-decoration: bold; margin-top: 30px; padding-right: …
<MICHAEL> is right: are you looking for a WYSIWUG or to actually code a site?
I really like the purple, as its very iconic to daniweb, and nice one to dani for choosing it!!! Because it is just so iconic, I don't think any other colour would fit to be honest!
Hi all, We have just upgraded our btinternet router, and they gave me the old one to experiment with. The router is identical to [this one](http://upload.wikimedia.org/wikipedia/commons/7/71/BT_Home_Hub.JPG). A friend thinks a script would have to be written in C++. The router has all of its config stuff on a web interface, …
I agree with the others: its easier learning when you work it into an existing site... Personally, I learnt PHP through tampering with opensource projects. You definately need HTML, CSS and maybe JavaScript but jalpesh has named all the languages to make the best sites. I use XAMPP and its …
Are you sure you can't use an IDE for this: as something vaguely like cnn.com provides a lot of problems for something like office. Word is by no means designed nor capable of working with html pages. Maybe try something like [NVU](http://net2.com/nvu/) which is a simple IDE that works nicely …
Hi, I think the title is fairly self explanetary, what is the endorse system and how does it work *Sorry for dumb question- newbie here*
I think you've got a problem with the div's, as they are set to a width of 1300px, which extends off the page.. try using 1000px instead and then move the div's around abit (ie facts should be set to apprpx. top: 240px, right:600px; etc. mattster
Hi all, Am building a WinAPI project in Code::blocks and MinGW. I Downloaded some opensource source code, and tried to compile the snippet haveing done nothing to it, and I get *Syntax Error on line 6* for the following code: IDR_MENU MENU DISCARDABLE {//BEGIN POPUP "File" {//BEGIN MENUITEM "New", IDM_NEW …
The End.