Jump to content

Recommended Posts

Basically i am trying to learn to write php following a good book i have

I have WAMP installed and all set up, and i am using Dreamweaver CS4 to code my PHP

My problem is everytime i write any sort of code even copying out of the book or another php example i just get crappy errors for instance the following

<p>Hello<p/><br/>

<?php

$name = "Melissa"

$age = 21

?>

 

<p>Hello Again<p/>

<?php

echo $name

echo $age

?>

First time i ran it Dream weaver just gave me parse error on line 13 which i didnt change then i got it to work some how, and now dream weaver is just displaying the HTML but only showing the Php script as little php thumbnails??

Anyone know what i am doing wrong its hard to learn when nothing i write works... Annoying! ???

Link to comment
https://forums.phpfreaks.com/topic/162211-very-basic-help/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.