User Profile

Collapse

Profile Sidebar

Collapse
Aido82
Aido82
Last Activity: Apr 3 '07, 11:04 AM
Joined: Jan 14 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Aido82
    replied to passing the value from a text box to a varible
    in PHP
    this is all the code

    <html>
    <body>
    <link rel=stylesheet href="Styleshee t.css" type="text/css">
    </body>

    <?
    //declar varibles

    //$userName = ;
    $userName=$_POS T['userName'];
    $title=$_POST['title'];
    //$tel=$_POST['tel'];




    $conn = mysql_connect(" localhost", "root",...
    See more | Go to post

    Leave a comment:


  • Aido82
    started a topic passing the value from a text box to a varible
    in PHP

    passing the value from a text box to a varible

    Hi, this is probably a stupid question.

    Im trying to declare a varible to have the value of that in a text box

    when i declare the varible is there a way to give it the value in a text box called area.

    i was trying the way below but it puts the word username in the database

    $userName = 'username';

    then in the form i used

    <p><b>User Name:</b>...
    See more | Go to post

  • Aido82
    started a topic inserting into a mysql database
    in PHP

    inserting into a mysql database

    Im having a problem inserting the following data into a Mysql table, just wondering if any one has any ideas on how to get it to work. When i click the register button nothing at all happens . any one got any ideas.



    <?php

    $connection = mysql_connect(" localhost", "root", "")
    or die ("Could not connect to server");

    $db = mysql_select_db ('customer',...
    See more | Go to post
No activity results to display
Show More
Working...