Jump to content

Recommended Posts

I am building an insurance quoting script, and am wondering if it is possible to do something like name1 - vehicle1, name2 - vehicle1, name2 - vehicle2, etc. I am trying to do it without using MySQL as I don't have a long enough deadline to properly design the database structure for this sort of thing. I can do it with MySQL, but would prefer to not use it if it is possible without getting confused data. I am not a noob, and technicality is preferred. Any help is appreciated.

Link to comment
https://forums.phpfreaks.com/topic/192129-matching-user-entries-without-mysql/
Share on other sites

My apologies, for got to mention that. The data is going to be sent via an earlier page in the process. I've tried using $_POST, but it seems to only know what was on the page directly preceding it, or any other page that has the result page as the "action=" function.

Could use a hidden form?

 

I.E

page 1 

<input type="text" name="name" id="name" size="20" />

page 2

$name = $_POST['name'];

<input type="hidden" name="name" id="name" value="{$name}" />
<input type="text" name="add" id="add"  size="20"/>

Then on page three call the name $name ....

Maybe long and boring but only way to do it with out Mysql i know of. 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.