Lefu Posted November 10, 2007 Share Posted November 10, 2007 hello friends, I am trying something different. 1st I have this login code in the db and want to display it: <table class="login" cellpadding="" cellspacing=""> <th colspan="2">Log in table</th> <tr> <td>User name</td> <td><input type="text" name="edtUsername" value=""class="" size="" > </td> </tr> <tr> <td>Password</td> <td><input type="password" name="edtPasswd" value=""class="" size="" ></td> </tr> <tr> <td colspan="2"><input type="button" name="" value="Forgot password ? Change it here. " class="linkbutton" onclick="setloginid(50);" ></td> </tr> <tr> <td><input type="submit" name="" value="LOG IN" class="button" onclick="setloginid(20);" > </td> <td><input type="button" name="" value="Register" class="button" onclick="setloginid(30);" ></td> </tr> </table> I am using php and mysql, so using ajax can I produce using this code to look like the attached file? and how? I have index.php and iframe [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted November 14, 2007 Share Posted November 14, 2007 if your want to get the variable that contains this table, that you have stored in your database; you can do this with ajax. just create a php page that can mysql_query this variable from your database and get the contents of this page with ajax. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.