Hello everyone, I'm quite new here and i haven't found any sub-forum that deals with wordpress php progamming so i kinda stuck it here.
Anyway, Here's my question - I got an extern html form that passes a value to some php file that is called makelist.php - The makelist.php simply analyzes the data that was sent through the $_POST method and puts all the 'right' values in one string array that is called $arrinfo - Each value there is a simple html snippet like '<a href=http://www.mywebsite.com/tes2t>testing</a>' .
Now, assuming that i have an existing wordpress page which is called 'test1' for example - How can i put -all- that links (snippets) that exist in $arrinfo into a new sub page which will be like www.mywebsite.com/test1/arrinfolinks/ ?
Do i need to install any wordpress plugin that will allow me to insert PHP code within posts/pages? Or is there any way to do it externally out of my php code? I can definitely put my php files in the same directory that wordpress uses so i can use wp_insert_post() for example - but i just couldn't figure yet how to create a sub page and insert all $arrinfo's content into it so it will be shown as links and not plain text of html tags..
thanks in advance..
" Each value there is a simple html snippet like '<a href=http://www.mywebsite.com/tes2t>testing</a>' ."
Means that
$arrinfo[0] = '<a href=http://www.mywebsite.com/' . $test2[0] .'>this is value . $test[0] .'</a>'
$arrinfo[1] = '<a href=http://www.mywebsite.com/' . $test2[1] .'>this is value . $test[1] .'</a>'
$arrinfo[2] = '<a href=http://www.mywebsite.com/' . $test2[2] .'>this is value . $test[2] .'</a>'
$arrinfo[3] = '<a href=http://www.mywebsite.com/' . $test2[3] .'>this is value . $test[3] .'</a>'
and so on.. and all my purpose is to post it's values as an propel html page to a subpage in my website that i will choose..