Jump to content


Photo

PHP & Dreamweaver


  • Please log in to reply
4 replies to this topic

#1 2wasted

2wasted
  • Members
  • PipPipPip
  • Advanced Member
  • 41 posts

Posted 25 April 2006 - 08:14 PM

[!--sizeo:3--][span style=\"font-size:12pt;line-height:100%\"][!--/sizeo--][!--fonto:Verdana--][span style=\"font-family:Verdana\"][!--/fonto--] lo all,
I have just started PHP and iam using W.A.M.P5 V1.6.1 and dreamweaver on xp pro sp2.2 quick questions:-)1 is W.A.M.P ok or should i install them all 1 by 1? and is there better than DW for PHP..i dont seem to have code hint with php in DW that i have with html...
Thx
Charlie/2wasted[!--fontc--][/span][!--/fontc--][!--sizec--][/span][!--/sizec--]

#2 Ferenc

Ferenc
  • Members
  • PipPipPip
  • Advanced Member
  • 94 posts

Posted 25 April 2006 - 10:48 PM

WAMP is fine, as long as it is working correctly. Personally I like apache/mysql installed seperately... easier to upgrade. But if it works then that is all that is needed.

As for the 'tag hints', that would depend on dw version. Also you need to make sure you set up the new pages to be .php before the tag hints will appear, since they won't in a html document. This will also depend on how the site is set up!

edit->preferences->new document set default to PHP

Another thing, DW likes to 'fix tags' this can be a bad thing in php. You can fix that in preferences too. just ad .php to code rewriting.

Everything you want to know is here.

#3 2wasted

2wasted
  • Members
  • PipPipPip
  • Advanced Member
  • 41 posts

Posted 25 April 2006 - 11:28 PM

[!--quoteo(post=368656:date=Apr 25 2006, 05:48 PM:name=Ferenc)--][div class=\'quotetop\']QUOTE(Ferenc @ Apr 25 2006, 05:48 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
WAMP is fine, as long as it is working correctly. Personally I like apache/mysql installed seperately... easier to upgrade. But if it works then that is all that is needed.

As for the 'tag hints', that would depend on dw version. Also you need to make sure you set up the new pages to be .php before the tag hints will appear, since they won't in a html document. This will also depend on how the site is set up!

edit->preferences->new document set default to PHP

Another thing, DW likes to 'fix tags' this can be a bad thing in php. You can fix that in preferences too. just ad .php to code rewriting.
[/quote]

Thanks for the reply m8:-) i have DW 8,and i have it set up as a php localhost.i have done the things you said but still the same:-(maybe i'am askin 2 much from DW.what i mean is in html when i type <h it will come up with h1,h2 etc.but after <? if i do "e" i dont get a hint like echo etc...
Thx
Charlie

#4 Ferenc

Ferenc
  • Members
  • PipPipPip
  • Advanced Member
  • 94 posts

Posted 25 April 2006 - 11:38 PM

Tag hints should work for you. They can be eneabled in the preferences aswell.
If you look at your tag Libbrary and there are no tags for php, I think you can download them from the DW site.

Also, you will have to start php in the document (if you haven't)
<?php

?>


Everything you want to know is here.

#5 2wasted

2wasted
  • Members
  • PipPipPip
  • Advanced Member
  • 41 posts

Posted 26 April 2006 - 01:19 AM

[!--quoteo(post=368671:date=Apr 25 2006, 06:38 PM:name=Ferenc)--][div class=\'quotetop\']QUOTE(Ferenc @ Apr 25 2006, 06:38 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Tag hints should work for you. They can be eneabled in the preferences aswell.
If you look at your tag Libbrary and there are no tags for php, I think you can download them from the DW site.

Also, you will have to start php in the document (if you haven't)
<?php

?>

[/quote]
Thanks m8,
ill give that a try..what GUI do most PHP programers use?
cheers
Charlie/2wasted




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users