•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 423,015 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,994 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 478 | Replies: 2 | Solved
![]() |
? sorry can you rephrase that as i have no idea what you mean. if you know insertion and connection why cant you do it ?
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
•
•
Join Date: Apr 2004
Location: Brownsville or Austin, TX or Faber, VA
Posts: 59
Reputation:
Rep Power: 5
Solved Threads: 2
Are you talking about getting the data from the user in the webpage? If you are, then you can use a form. Depending on the method of the form wether it is post or get, Just set the action to the php script that will enter into the database and use the $HTTP_POST_VARS or $_POST if it is post method or you can use $HTTP_GET_VARS or $_GET to extract the variables if the form was sent to the script by the get method
The html for the form looks somewhat like
and the script to get the variable is anything like
processingScript.php :
Well, hope this helps.......
The html for the form looks somewhat like
<form action="processingScript.php" method="post"> <input type="text" name="theVarInQuestion" /> <br> <input type="submit" value="Send The Variable" /> </form>
and the script to get the variable is anything like
processingScript.php :
/* regular html code and open body */ <?php echo "The variable was $HTTP_POST_VARS['theVarInQuestion']" ?> /* end body and html */
Well, hope this helps.......
The purpose of my existence is why I am here.
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- What do ya guys think about Dual monitors? (Techies' Lounge)
- chat server gui (Java)
- Chat system (ASP.NET)
- Chat system for students!! (Java)
- Chat system for students!! (VB.NET)
- Final Year Project (Chat System) (Java)
Other Threads in the PHP Forum
- Previous Thread: chat project
- Next Thread: To disable Submit button


Linear Mode