Jump to content

Recommended Posts

I know that one can post a something from a form by putting the method as "post". But In need to post something through PHP to another PHP file. How can I achieve this?Also is there something lke eval('codeString') in PHP???

Link to post
Share on other sites
I know that one can post a something from a form by putting the method as "post". But In need to post something through PHP to another PHP file. How can I achieve this?Also is there something lke eval('codeString') in PHP???
My PHP skills are pretty limited but if I'm right you could just make a "variable" of it and use that in the other file. Recall it in a normal HTML file.
<a href="index.php?number1=$nr1&number2=$nr2">

Ore this one is pretty complex; you could write it to a .txt file and then recall it.

Link to post
Share on other sites

thanks justsomeguy

Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...