SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: variable error

Hybrid View

  1. #1
    SitePoint Addict einSTein's Avatar
    Join Date
    Aug 2006
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    variable error

    the variable $ut appears in the page "$ut" and its value didn't appears
    Code PHP:
    echo '<form enctype="multipart/form-data" method="POST" action="index.php?x=compose&y=sent">
    	<div align="center">
    		<table border="0" width="470" cellspacing="0" cellpadding="0" id="table1">
    			<tr>
    				<td width="141">To</td>
    				<td>All $ut</td> -------------> error line
    			</tr>
    			<tr>
    				<td width="141">Title</td>
    				<td><input type="text" name="title" size="40"></td>
    			</tr>
    			<tr>
    				<td width="20%">Attachment</td>
    				<td width="80%" colspan="2"><input type="file" name="uploadedfile" size="20">
    				<input type="hidden" name="MAX_FILE_SIZE" value="100000">
    				<input type="hidden" name="name" value="admin"></td>
    			</tr>
     
    			<tr>
    				<td width="141">Message</td>
    				<td><textarea rows="13" name="mail" cols="45"></textarea></td>
    			</tr>
    			<tr>
    				<td width="141">&nbsp;</td>
    				<td><input type="submit" value="Send" name="B1"><input type="reset" value="Reset" name="B2"></td>
    			</tr>
    		</table>
    	</div>
    </form>';

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Replace $ut with ' . $ut . '
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •