Help, my coding is failing >D;

JoshuaLuke

Posting Freak
Jan 29, 2012
529
51
Hey

Basically, im coding a RevCMS theme. And ive got onto the index and this happenes:

fld64x.png


Heres my code;

Code:
<form method="post">

                        <tr>
                       
<                            <td class="right"><label for="us">Desired Username:</label></td>
                            <td class="left"><input type="text" name="reg_username" id="us" value="<?php echo $template->form->reg_username; ?>"></td>
                        </tr>
                        <br><br>
                        <tr>
                            <td class="right"><label for="pw">Desired Password:</label></td>
                            <td class="left"><input type="password" name="reg_password" id="pw"></td>
                        </tr>
                        <br><br>
                        <tr>
                            <td class="right"><label for="cp">Confirm Desired Password:</label></td>
                            <td class="left"><input type="password" name="reg_rep_password" id="cp">
                        </tr>
                        <br><br>
                        <tr>
                            <td class="right"><label for="em">Email Address:</label></td>
                            <td class="left"><input type="text" name="reg_email" id="em">
                        </tr>
                        <br><br>
                            <td class="right"></td>
                            <td class="center">
                                <input type="submit" value="Register" name="register" style="margin-right:3px;">
                                <input type="button" value="Cancel" onclick="location.href='{url}/'">
                            </td>
                            
                </form>

Will someone optimise it for me, so itll all align proplerly

Thanks
Josh
 

Joopie

Active Member
Sep 13, 2011
135
65
HTML:
<form method="post">
                    <table>
                        <tr>
                     
                            <td class="right"><label for="us">Desired Username:</label></td>
                            <td class="left"><input type="text" name="reg_username" id="us" value="<?php echo $template->form->reg_username; ?>"></td>
                        </tr>
                        <tr>
                            <td class="right"><label for="pw">Desired Password:</label></td>
                            <td class="left"><input type="password" name="reg_password" id="pw"></td>
                        </tr>
                        <tr>
                            <td class="right"><label for="cp">Confirm Desired Password:</label></td>
                            <td class="left"><input type="password" name="reg_rep_password" id="cp"></td>
                        </tr>
                        <tr>
                            <td class="right"><label for="em">Email Address:</label></td>
                            <td class="left"><input type="text" name="reg_email" id="em"></td>
                        </tr>
                        <tr>
                            <td class="right"></td>
                            <td class="center">
                                <input type="submit" value="Register" name="register" style="margin-right:3px;">
                                <input type="button" value="Cancel" onclick="location.href='{url}/'">
                            </td>
                        </tr>
                    </table>
                </form>
 

JoshuaLuke

Posting Freak
Jan 29, 2012
529
51
HTML:
<form method="post">
                    <table>
                        <tr>
                   
                            <td class="right"><label for="us">Desired Username:</label></td>
                            <td class="left"><input type="text" name="reg_username" id="us" value="<?php echo $template->form->reg_username; ?>"></td>
                        </tr>
                        <tr>
                            <td class="right"><label for="pw">Desired Password:</label></td>
                            <td class="left"><input type="password" name="reg_password" id="pw"></td>
                        </tr>
                        <tr>
                            <td class="right"><label for="cp">Confirm Desired Password:</label></td>
                            <td class="left"><input type="password" name="reg_rep_password" id="cp"></td>
                        </tr>
                        <tr>
                            <td class="right"><label for="em">Email Address:</label></td>
                            <td class="left"><input type="text" name="reg_email" id="em"></td>
                        </tr>
                        <tr>
                            <td class="right"></td>
                            <td class="center">
                                <input type="submit" value="Register" name="register" style="margin-right:3px;">
                                <input type="button" value="Cancel" onclick="location.href='{url}/'">
                            </td>
                        </tr>
                    </table>
                </form>
I input the code, and it all disappeares, no text boxes are there. Nothing appears
 

Users who are viewing this thread

Top