Jump to content

[SOLVED] NewB stuck on 1 line of code - syntax help


kate_rose

Recommended Posts

Hi,

I am trying to write a function to create a checkbox.  So as part of that I need to print

<form method="post" action="<?php $_SERVER['PHP_SELF'];?>">

my code is

[code/]
print ("<form method=\"post\" action=\"<?php $_SERVER['PHP_SELF'];?>\">");

 

I must be not spotting a reserved character but for some reason I don't see it.

Probably just working to late . . . please help

 

Thanks

 

Kate

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.