|
Posted by J.O. Aho on 07/25/05 06:57
Luigi Donatello Asero wrote:
> "J.O. Aho" <user@example.net> skrev i meddelandet
> news:3ki43oFue1jiU1@individual.net...
>
>>Luigi Donatello Asero wrote:
>>
>>>"J.O. Aho" <user@example.net> skrev i meddelandet
>>>news:3khup2FufnknU2@individual.net...
>
>
>
>>The page seem to try to insert into the table at once without even
>
> spitting
>
>>out the two html-tags,
Should have been splitting.
> well, first I want to see a short simple form working and afterwards I can
> extend it, add meta tags and so on.
> But I am not sure whether I understand what you mean by "spitting out the
> two html-tags".
>
>
>
>>You could break things up in two,one with the form only and the other the
>
> php
>
>>that takes care of the data and saves things to the database.
>>
>
> Do you mean to have 2 pages, one which displays the form before it has been
> filled in and another which gets the data from this form and send them to
> the database?
Yes, less advanced and should give you less risk for problems.
>
>>You could change the "isset($_POST['add'])"
>>to "array_key_exists('add', $_POST)"
>
>
>
>
> Yes,
> I have it there
> "array_key_exists('add', $_POST)" && ($_POST['add']=="Skicka"))
No, you don't see the other posts to see how the line should have looked like.
//Aho
[Back to original message]
|