can anyone think of a good .. different colour for my theme? here's a few of the shades of blue i've been using so far... want something none-blue to highlight certain parts. -Cheers!
so if i had a menu called "C Class" .. and in it was "model 1", "model 2", "model 3", "model 4"... how would i save that and how what i access that?-Thanks for the help!
i have 2 select menus with the id's "type" and "model". When I select something from "type", i want "model" to update with the models of that type. I've already created part of the script to clear the "model" menu, but I was wondering what the best way to store the new options and how to then implement that into a for loop or another loop/if/switch/foreach. There are 25 'types' which all have about 4 to 6 'models' in them, so it's quite a lot of options... - thanks
you could use getElementById('myTable').insertRow(1) within a loop, set to loop for whatever number of times they select.then set the innerHTML as a standard but change the numbers (ie. extraSomething_1) by using a variable that's incremented each time the loop repeats the code.if that makes sense?inserting rows into a table: http://www.w3schools.com/js/tryit.asp?file...table_insertrowfor loops: http://www.w3schools.com/js/js_loop_for.asp
when i view it im seeing a few errors. do you have "session_start();" in one of the includes? it's saying:Notice: A session had already been started - ignoring session_start() in /home/shopp/public_html/vanyok/phphomework/group/hdr.php on line 2
just it would probably take alot of time to look thru both of the scripts then take the upload code from one and put it in the other and get it to work...
if it's blank it's connecting... try this as your test file:
<?php$con = mysql_connect("localhost","humane","password");if ($con) mysql_select_db("humane", $con);$query= mysql_query("SELECT * FROM membership") or die("Could not complete query because " .mysql_error()); while($result=mysql_fetch_assoc($query)) { print_r($result); print '<br /><br />';} mysql_close($con);?>
i have a question though, how can divs be positioned the same way as tables? columns and rows allow you to put different bits of data right next to each other? only way i can think of with divs is to use position absolute..but then centerting the website gets confusing.... but im not very used to divs, so i may be wrong.and also adobe photoshop uses tables to structure webpages created with image slicing- are they actually going against what is considered the proper way?