a Very nooby with a very nooby question!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Dave100
Forum Newbie
Posts: 6
Joined: Thu Jun 20, 2002 5:45 pm

a Very nooby with a very nooby question!!

Post by Dave100 »

feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


Forgive me!

I have this code and I want to pretty it up. At the moment it is just a few field and a submit button. 

I want to embed it into a html web page.

I'm sure it isn't just a matter of cut/paste into a page and thats that, then again?

I love what php does and am going to have to rip some time out of my busy schedule to learn it but in the meantime I would like to make this program a little more nicer to the eye.

Hopefully it will be something which I can ditto in all the pages of the total program we have.

Anyway first things first.

I did look, serach et5c but couldn't an an answer.. the amswer I needed.

oz
   

[syntax="html"]<p class="uititle">Account info</p>

<table>
<tr><td>User: </td><td>sales@pbox.com</td></tr>
<tr><td>Fullname: </td><td>John</td></tr>
<tr><td>Balance: </td><td>2.00</td></tr>
</table>

<p class="uititle">Increase balance</p>

<form action="/wap/userinfo.php" method="POST">
<table>
<tr><td>Amount: </td><td><input type="text" name="paa" /></td></tr>
<tr><td>Payment method: </td><td><select name="pwr">
    <option value="app">PayPal</option>
    <option value="asc">Credit card</option>
</select>
</td></tr>
</table>
<input type="submit" value="Pay" />
</form>

<br />

<form action="/wap/userinfo.php" method="POST">
<input type="hidden" name="pwr" value="alo" />
<input type="submit" value="Logout" />
</form>

feyd | Please use[/syntax]

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
User avatar
evilchris2003
Forum Contributor
Posts: 106
Joined: Sun Nov 12, 2006 6:43 am
Location: Derby, UK

Post by evilchris2003 »

there is no PHP code there

just HTML

if you want the code written for you try the tutorials section
viewforum.php?f=28
User avatar
evilchris2003
Forum Contributor
Posts: 106
Joined: Sun Nov 12, 2006 6:43 am
Location: Derby, UK

Post by evilchris2003 »

I suggest you read

viewtopic.php?t=8815
Forum Posting Guidelines as well before posting again
Post Reply