Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 13th, 2004, 8:50 PM   #1
seanclark
Newbie
 
Join Date: Oct 2004
Posts: 1
Rep Power: 0 seanclark is on a distinguished road
okay i tried using cookies, not gonna work, i tried cgi and asp....not gonna work...and i just tried sql data base (which btw is realllllllly complicated) alll i want to do is make it so i people can type in some info, and its displayed on antother page. IS that SO much TO ask FOR?????? I mean you think with computers now a days you could just say <input type="text" name="name" sendto=datebase1"><retreive (1,1) name> or something easy like that. I DONT KNOW, IM AT A LOSS FOR WORDS PLEASE HELP ME OUT...
seanclark is offline   Reply With Quote
Old Oct 13th, 2004, 9:00 PM   #2
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
~Moved
__________________
&quot;Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children.&quot; - Dwight D. Eisenhower
Mjordan2nd is offline   Reply With Quote
Old Oct 13th, 2004, 9:46 PM   #3
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Does this mean you want this in PHP?
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Oct 14th, 2004, 2:50 AM   #4
Berto
Programming Guru
 
Join Date: Aug 2004
Posts: 1,022
Rep Power: 6 Berto is on a distinguished road
Send a message via AIM to Berto Send a message via MSN to Berto
HTML code:

must have in somewhere

<form name="name" method="get" action="page2.php">
Input name: <input type="text" name="uName" />
</form>



create a page2.php

and put into it this.


$_GET["uName"]; // produces teh text string from the previous page.

or if using a java servlet/jsp page its

request.getParameter("uName");

for any of the other just look up

GET and POST methods for the equivilant language.
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity."

- Albert Einstein
Berto is offline   Reply With Quote
Old Oct 14th, 2004, 8:48 AM   #5
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Good example Berto
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Oct 27th, 2004, 9:40 AM   #6
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Calm down man, everyone has computer problems :-p Thats what this site is here for. Just come ask a question, and it will be answered. No need to be frustrated. And if it doesnt work, ask another question, and it will be answered.

<?php
// Universal POST or GET display...
$blah = ((isset($_POST))?$_POST:((isset($_GET))?$_GET:-1));
if($blah == -1) die("No data sent from forms..");

foreach($blah as $col => $val)
  echo "<b>{$col}:</b> {$val}<br>";
?>

Just save that to a .php and post data to it from a form and it will display it.
__________________

tempest is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:00 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC