if you read the results of your query into a DataReader you can do thisC#
while(myDataReader.Read()){ //do something}
This will read through all the records in the datareader
change
mysql_select_db("BusFile");
to
@mysql_select_db("BusFile") or die("Unable to select database");
Chances are this is the line causing the problem.
in your CSS
.navbar a:link { color:#EEF3E5; display: block; line-height: 30px;}
try playing with the margin-bottom, since it is what you want in IE we can apply a hack to get it to be hte same in other browsers.
.navbar a:link { color:#EEF3E5; display: block; line-height: 30px; margin-bottom: 10px; /*FF*/ -margin-bottom:0px; /*IE*/}
Do you undersatand what I did? By placing a (-) in front of an attribute IE will only read this line and FF will ignore it. so you can set 2 different values for different browsers
it will not be valid HTML...whether or not it renders differently is a browser to browser issue...it depends on how standards compliant they are....IE would probably have little or no difference and FF would probably give your code 40 lashings for such a thing :)When using includes pretend that the code in the include file was actually being written in the spot you are includeing it (because basically that is what includes are).Hope this helps
The reason for this is probably the computer you transfer it too does not have the font you want to use. If you are not using a common font this will be the case for most of the users that view your website.If the font is for headers ofr something you could make small graphics for this but if it is for the bulk of your content you will have to either use a more common font or look into some methods to embed fonts.
I have read the specs on what IE7 is supposed to be. Even tho the betas don't provide the promised functionality hopefully the final release will.All the css bus are supposed ot be fixed, xml support, etc
I am looking ofr a login script.Mine just won't workI can get the user logged in fine but I can't get it to logout.Anybody who will share theirs with me?
I don't know of any good sites but I am just using $_SESSION to store security info...I am having trouble with my logout script tho...the sessions just won't die!
They can do the exact same thing.The advantages of ASP.Net is that you can compile your code into .dll so when you distribute your software you do not have to give out the source code.Also .Net has advanced methods of dealing with security that PHP does not have.Also since .Net is compiled it runs a bit faster than PHP as well.