Board index   FAQ   Search  
Register  Login
Board index PHP PHP Scripts

Please help to parse string

Links for php scripts

Moderators: macek, egami, gesf

Please help to parse string

Postby metlonec » Wed Sep 07, 2011 4:00 am

Please help to parse next string to array with needed hierarchy
Code: Select all
menu [
   enabled,
   type,
   fusionmenu [
      menutype,
      position
   ],
   menutype {
      mainmenu,
      splitmenu
   ]
],
layout [
       2col,
       3col
],
showall,
showmax

Thanks in advance.
metlonec
New php-forum User
New php-forum User
 
Posts: 1
Joined: Wed Sep 07, 2011 3:47 am

Re: Please help to parse string

Postby Nullsig » Thu Sep 08, 2011 7:20 am

what?
User avatar
Nullsig
php-forum Fan User
php-forum Fan User
 
Posts: 981
Joined: Thu Feb 17, 2011 6:52 am
Location: Racine, WI

Re: Please help to parse string

Postby VARUN006 » Fri Sep 09, 2011 2:58 am

<html>
<head>
<title>
hii
</title>
</head>
<body>
<form action="post2.php" method="post">
<p>First Name:<input type="text"

name="first_name" size="10"></p>
<p>Last Name:<input type="text"

name="name2" size="10"></p>
<p>Email:<input type="text" name="email"

size="15">
<p>Posting:<textarea name="posting"

rows="15" cols="20"></textarea></p>
<input type="submit" name="submit"

value="Send my feedback" />
</body>
</html>



-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?php
$first_name=$_POST['first_name'];
$last_name=$_POST['name2'];
$email=$_POST['email'];
$posting=$_POST['posting'];
$name=$first_name .". $last_name;
print '$posting';
?>


pls help...
VARUN006
New php-forum User
New php-forum User
 
Posts: 21
Joined: Tue Jul 12, 2011 3:51 am


Return to PHP Scripts

Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron