![]() |
[PHP/MySQL] I'm new at this...please be nice
I'm getting this error:
Quote:
Quote:
|
You need to escape double quotes with backslashes in a string you declare between double quotes:
Code:
echo "<font face=\"skia\"><b>$entrytitle</b></font>"; |
By the way, your HTML is obsolete. Do this instead:
Code:
echo "<span style=\"font-family: skia, sans-serif; font-weight: bold;\">$entrytitle</span>"; |
Thank you, thank you, thank you!! I'm just learning how to do this and I read about that a couple days ago. I should have known that.
Thank you again! |
What's the difference between using these two?
Quote:
|
The difference is that the latter should continue to work in new browser versions for a long time to come, while the former will presumably stop working at some point. That applies mainly to the font tags. The bold tags will probably be always be valid. Moreover, you can eliminate bloated code by putting the font properties in a CSS class and replacing the style attribute with a class attribute in all elements that you want to apply those style rules to.
|
By the way, if you're using a colour highlighting editor, this would probably be easier to read:
PHP Code:
|
So how is this MySQL related?
|
Quote:
|
I would suspect so, but I cant comment on it... I do know that TextPad has a PHP syntax file though.
Maybe look at http://sourceforge.net/projects/php4ue/ |
Thanks, Sailor. That looks like it's exactly what I want. :)
|
Crimson Editor has built in PHP support.
I'm currently using Nusphere PHPEd, which is really nice apart from a few bugs, although my trial is about to run out. |
Yeah, I have yet to find a *really* good php editor. TextPad does fine, and I have been using it a lot, but it is a text editor, not a full fledged IDE. Dreamweaver is terrible, so thats out, and Im not going to pay $200 for Zend. Guess Im sticking to textpad :(
|
I'm not giving up UltraEdit either. It's the best text editor I've ever used, and I've gotten familiar with most of the features. I'd never even consider a WYSIWYG editor like Dreamweaver or Front Page.
|
Quote:
Which version you use? Perhaps you just need to upgrade..I'm using the latest and it's there. <3 UltraEdit :) |
When it comes to editing php I like Php Edit
It is free and works fairly well. Well flock now that is an actual release they charge for it. Bastages! |
Quote:
|
Quote:
Odd, when I look in the view menu I also have PHP option...and iirc it's been there through a few versions. It shouldn't be related to the software being registered, but I don't know for sure, I've never used the trial. Look here: http://img56.photobucket.com/albums/...inistar/ue.jpg and if need be, go here: http://ultraedit.com/downloads/additional.html |
Thanks, SiN! It's still not there, but at least now I know how to install the wordfile from Sourceforge that Sailor pointed me to. :)
|
All times are GMT -8. The time now is 10:43 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project