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",...
User Profile
Collapse
-
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>... -
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',...
No activity results to display
Show More
Leave a comment: