474 Posted Topics

Member Avatar for phpDave

yes Set the small screen css first in the normal way. Then use javascript to over ride this with the wide screen version. No need to mention the small one in the javascript.

Member Avatar for phpDave
0
71
Member Avatar for brenzor

you could try looking at the code used... [code] <div class="map"> <iframe marginheight="0" marginwidth="0" src="http://maps.google.co.za/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=4+chester+drive,+bishopscourt&amp;sll=-33.991125,18.442891&amp;sspn=0.010942,0.01929&amp;ie=UTF8&amp;hq=&amp;hnear=4+Chester+Dr,+Bishopscourt,+Western+Cape&amp;ll=-33.984648,18.447247&amp;spn=0.021707,0.085745&amp;z=14&amp;output=embed" scrolling="no" frameborder="0" height="425" width="1000"></iframe><br><small><a href="http://maps.google.co.za/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=4+chester+drive,+bishopscourt&amp;sll=-33.991125,18.442891&amp;sspn=0.010942,0.01929&amp;ie=UTF8&amp;hq=&amp;hnear=4+Chester+Dr,+Bishopscourt,+Western+Cape&amp;ll=-33.984648,18.447247&amp;spn=0.021707,0.085745&amp;z=16" style="color: rgb(0, 0, 255); text-align: left;">View Larger Map</a></small> </div> [/code] They show the larger map by simply linking directly to google maps summarising the code [code] <div class="map"> <iframe src …

Member Avatar for drjohn
0
108
Member Avatar for Lolalola

html says # <div id = "left_"> css says #left_b Also left_b would need a height to display the background image. (Floating the divs inside it takes them out of the normal document flow, so the div appears empty with zero height, so the background is not visible.) Finally, there …

Member Avatar for drjohn
0
72
Member Avatar for vairvixen

If you dump ALL the styles in the head (css file and the repeated css styles embedded in the head) and set border=2 for your table (TABLES!!! it's the 21st century!), then you will see that something is throwing an extra something, perhaps a td, at IE, sitting between the …

Member Avatar for colweb
0
105
Member Avatar for kizito106

The correct answer is to make your wrapper div, give it a width, and set margin:auto. The bit about text-align is an old technique used when you work with ie6, and then it requires more code to overcome the text being aligned centre. Also only about 10% of users are …

Member Avatar for drjohn
0
21K
Member Avatar for MandaloreFett7

If you give the divs horizontalnav and minihorizontalnav a height they will appear. Currently it's as if they are displaying at zero height, so you can't see the background color of these divs, so the menus show as white on white, outside/below the divs. Alternatively if you give the background …

Member Avatar for ko ko
0
273
Member Avatar for Brillig

Yes, way off base. Position:absolute is dreadful, while position:relative often SOLVES problems with other things. If divs are physically overlapping, that means you have some strange code elsewhere that is the real problem.

Member Avatar for metalix
0
138
Member Avatar for chemquiz

Create several sets of separate queries, each stored in a password protected folder, one for each group. The queries simple retrieve what each group is allowed to see. Included a posted_by field in the database and the queries.

Member Avatar for drjohn
0
62
Member Avatar for yassar

What format are the images in? Also, creating a web page using MS Word, or any other program not originally designed to create web pages really does make helping you very difficult, as the page will be full of rubbish whose sole purpose is to convert it back into a …

Member Avatar for yassar
0
101
Member Avatar for beforetheyknew

[QUOTE=pritaeas;1177611]In my opinion this is the best reference: [url]http://matthewjamestaylor.com/blog/perfect-3-column.htm[/url][/QUOTE] That's one overly complicated way to get a simple three col layout!!! [code] <div id=wrapper> <div id=header> </div> <div id=left> </div> <div id=content> </div> <div id=right> </div> <div id=footer> </div> </div> [/code] That's how the rest of the world does it. …

Member Avatar for drjohn
0
103
Member Avatar for Mestika

this [code] WHERE thread.threadid = threadoffering.threadid AND where threadoffering.year AND threadoffering.season = currentDate AND where threadoffering.User > 1 AND threadLocation = CS [/code] has two WHEREs in it. Start by changing it to this [code] WHERE thread.threadid = threadoffering.threadid AND threadoffering.year AND threadoffering.season = currentDate AND where threadoffering.User > 1 …

Member Avatar for drjohn
0
358
Member Avatar for python08
Member Avatar for warren88
0
167
Member Avatar for Latent12

Think more about this line "Many clients can arrange a viewing for a property."

Member Avatar for Latent12
0
139
Member Avatar for RucGwl
Member Avatar for decimo

[code]Select * from friends where name1='james' or name2='james';[/code] OR [code=sql]Select name2 from friends where name1='james' union select name1 from friends where name2='james';[/code] This second one is most likely what you want as it gives a list of just the friends' name.

Member Avatar for decimo
0
70
Member Avatar for Mahesh1671

You need to learn PHP programming and MySQL databases to do this properly. It is not a simple fix. You then need to secure each and every page that is for logged in people to exclude those who are not authorised. The action part of the form has to call …

Member Avatar for diafol
0
229
Member Avatar for Seregwethrin

It appears to be related to the lack of any height info, not necessarily just the border. A border means it has some physical height attached to it. Adding height:1%; or min-height:10px; or something similar gets you back to the first page's layout. If you cut out the entire declaration …

Member Avatar for Seregwethrin
0
108
Member Avatar for Aaaryan

A color not being supported in IE7!!! Total nonsense. Be serious! As for the original question, seeing a bit of code might be more helpful, so we can see what you've done wrong rather than just guessing.

Member Avatar for Aaaryan
0
221
Member Avatar for andydeans

A union is used when a set of columns with the same name and same data-type are present in two tables (or the same table but two aliases, and you are querying on two exclusive sets of conditions) and you wish to present the combined data extracted from each table. …

Member Avatar for andydeans
0
173
Member Avatar for hondros

Uninstal, re-install, and ignore the tutorial. Or uninstall, and install xampp lite instead. Both sets of applications will be supplied with a user and a password already, so changing things means you have to configure phpmyadmin to use the new username and password. Reinstalling is probably quicker.

Member Avatar for drjohn
0
74
Member Avatar for rukshilag

Unless you have many millions of records in the table, one table and a current_student field would work okay. Adding an index or two would speed things up. The primary key will automatically get indexed, but in this case adding an index on current_student would be an excellent idea. One …

Member Avatar for drjohn
0
219
Member Avatar for rukshilag

Have you tried feeding these queries directly into the database, not generating them / choosing them via your php code? You should always start by checking the query itself is correct, then using the php to choose which of your now tried and tested queries to use.

Member Avatar for rukshilag
0
89
Member Avatar for Flybro

The %Y%m%d are formatting instructions used INSIDE the date_format() function. Outside that function they are probably totally meaningless. They are probably being interpreted literally and may not be valid characters to include in a table name, unless the entire name was quoted, which would then cause you problems of having …

Member Avatar for drjohn
0
121
Member Avatar for andydeans

Arrange the order of the columns to match that of the database, and every column in the database must have a matching column in the spreadsheet. Export the data from the spreadsheet as txt (tab delimited) not csv. no column headings, as already mentioned. Run a query like this. [code] …

Member Avatar for andydeans
0
95
Member Avatar for Vigasdeep

try this instead [code] $sl="INSERT INTO stud (name,CID) VALUES ('$_POST[name]','$id')"; [/code] PS also try echoing the $id to make sure there is a value

Member Avatar for Vigasdeep
-1
116
Member Avatar for ggeoff

clear takes one of four values: none (the default) left right both ALL is not an option. so the browser is guessing that you don't know how to use clear and trying something else. IE8 is more standards compliant the IE7, and may not be applying the same correction to …

Member Avatar for jeffreyk16
0
1K
Member Avatar for piers

you appear to be testing for a space being entered, when you should be testing for an empty field. Try this instead [code] <?php include ("conn.php"); $uniqueT=trim($_POST['uniqueidT']); $fnameT=trim($_POST['fnameT']); $snameT=trim($_POST['snameT']); $tottreat=trim($_POST['tottreatT']); $treatcom=trim($_POST['treatcomT']); $ampay=trim($_POST['ampayT']); $filelink=trim($_POST['filelink']); if ( $uniqueT == '' OR $fnameT == '' OR $snameT == '' OR $tottreatT == '' …

Member Avatar for piers
0
118
Member Avatar for krishna09

If you mean wrap the text (scroll means move/animate it), you have to put the table in a div of a given size, probably floated left or right , and the text outside the div. or more likely like this [code] <div class="outer"> <div class="inner"> table bit here </div> text …

Member Avatar for krishna09
0
265
Member Avatar for nakul_pancholi

[url]http://www.sitepoint.com/books/html2/[/url] Also Css Mastery by andy budd. The difference between a book and a web site is that any fool can throw up a tutorial. And no-one has to approve it before it goes on line, no-one has to check that it is correct, that it reliable and accurate, that …

Member Avatar for shironui
0
118
Member Avatar for keithyg

First, use alter table to add a new field called password2. Then run an update query to set password2=sha1(password) I strongly suggest you make a practice table first, of course. Then, use alter table again, this time to remove the password field and then to rename password2 to password. You …

Member Avatar for drjohn
0
2K
Member Avatar for soldierboy

project---equipment is not correct project---employee is not correct. Have another think about these.

Member Avatar for drjohn
0
95
Member Avatar for marinkapell1

Pages you didn't want the search engine to index. Okay, to be more specific, log-in pages to admin sections of a site. Any other admin type pages, say for a CMS. Members areas that might include a set of tutorials or pdfs or private info of some sort.

Member Avatar for diafol
0
89
Member Avatar for Mici21

[url]http://www.sqlmanager.net/products/mysql/manager[/url] And the lite version is free to use.

Member Avatar for Mici21
0
116
Member Avatar for dominique7

Well I copied your code and viewed in in Firefox than IE Tester as IE6, and it looks the same in both. and from the words [quote] for IE6 (maybe the higher ones are affected too)? [/quote] Are you only testing things in FF and IE6?? That's a bit risky.

Member Avatar for dominique7
0
93
Member Avatar for s_kanika

Is the database being told to store 1980-03-01 or a unix timestamp or a day in the year number, which when read back gets converted to 1980-02-29, based on its day number.

Member Avatar for drjohn
0
61
Member Avatar for edy_sze

Use PHP - it is the standard way to talk to a web based MySQL database (or almost any other web based database). It will almost certainly be installed already on the server.

Member Avatar for drjohn
0
95
Member Avatar for achiman

it is correct. you can have as many conditions as you wish in the WHERE

Member Avatar for drjohn
0
103
Member Avatar for Deey

The real question is why have you designed a database where you need to do this, and what are you trying to achieve - ie show the table schemas, and what you are looking for in the output.

Member Avatar for drjohn
0
105
Member Avatar for ismael ahm@d
Member Avatar for achiman

looks like a phone number. so it's NOT a number, it's a string. Any other data-type is wrong.

Member Avatar for WebspoonUK
0
100
Member Avatar for avinash_545

Tables for layout are a bad idea. Do try to learn about divs. Google on son of suckerfish to learn how most people make menus with sub-menus. It's very simple to use.

Member Avatar for avinash_545
0
77
Member Avatar for SKANK!!!!!

does the tag field contain one tag eg blue or do you have multiple tags in it eg blue, sky, clouds If it's the second one, start by redesigning your database! Because the second means you have to rebuild it and have a threads table and a tagged table thread---<tagged …

Member Avatar for drjohn
0
175
Member Avatar for angelicakirana

PHP is executed at the server, javascript is executed in the browser. Like html, javascript is plain text. So of course it loads as fast as html - it is simply sent directly to your browser, just like html. Your browser or computer might be slow at using the script …

Member Avatar for angelicakirana
0
3K
Member Avatar for roberny

transfer your pages using ftp - it may be built in to your web design software, or it may require a separate ftp program.

Member Avatar for MJ Pieterse
0
48
Member Avatar for brenfinds

Of course you can do it in dreamweaver, it's a web design program. But you may have to expand on what your form does for a better answer, and you may have to write some php to process your form's input and output (forms are actual dead, lifeless items unless …

Member Avatar for suzzena
0
80
Member Avatar for rhirde

[B]NOT with PHP[/B] - this would require a call to the server every time the mouse moved over the area. Use javascript. This executes in the client's browser and so saves all the back and forth info flow between the client and the server. Or use css. Make the area …

Member Avatar for Boroimhe
0
95
Member Avatar for mrjoli021

[url]www.cssplay.co.uk[/url] Lots of examples of this there, usually under slideshow.

Member Avatar for drjohn
0
96
Member Avatar for darrylpatterson

it's been php as the main web programming language for about ten years now - where have you been? ;)

Member Avatar for digital29
0
142
Member Avatar for Travel Tech

This is NOT properly normalised tbl_prim_pres_elect state state_id date cand_id cand_name party_id numb_votes Because cand_id dictates cand_name and party_id SO you should have a candidate table containing that data. next state and state_id - will there be two states with the same name??? No, so the true primary key for …

Member Avatar for drjohn
0
95
Member Avatar for autumnelsie

The End.