pvtryan wrote:by using my text editor's "preview in browser" function
pvtryan wrote:and by opening the directory of the file and dragging the file into my browser.
pvtryan wrote:it still didn't work.
pvtryan wrote:I'm using Notepad++ right now.
pvtryan wrote:And I typed the path to the file in my address bar and it still didn't work.
Altrea wrote:What doesn't work?
What do you see?
What happened and what doesn't happen?
Altrea wrote:What path do you post in your Address bar? Just copy and paste it here, can't be that difficult...
pvtryan wrote:The PHP in my page doesn't work.
I see my page without the "echo."
wonglitheng wrote:Hello, I'm self=learning PHP. Can anyone point out the error that I did in the codes below?
I keep getting "Parse error: syntax error, unexpected T_ECHO in D:\xampp\htdocs\5_12.php on line 16"
And my Line 16 is: "echo "<td>";"
<title>Listing 5.12 Nesting Loops </title>
echo "<table border=\"1\"> ";
for ($y=1; $y<=10; $y++)
for ($x=1; $x<=10; $x++)
echo "<td>"; <---------Line 16
Users browsing this forum: No registered users and 70 guests