Internet Marketing Forums - Where Great Marketing Ideas Come to Life Internet Marketing Forums - Where Great Marketing Ideas Come to Life
Products
This is a revenue share forum
Why agonize about results? Get a life!

Why Agonize About Results?

Get a life!

  • Target only active marketers that RESPOND
  • Measure your success in profits, not probability

Click here to get started


Go Back   Internet Marketing Forums .Net > Internet Marketers' Products and Services > Programming / Scripts
User Name
Password
Register FAQ Members List Classifieds Blog Mark Forums Read

Notices

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-28-2009, 06:22 AM
kitty_petiya's Avatar
Set Avatar
Junior Member
 
Join Date: Jan 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
kitty_petiya is on a distinguished road
help needed: how to update php values?

Hi

I'm php newbie. For example, I have a php file like this:

php Code:

<?
$value1="content1";
$value2="content2";
?>

Now I want to create a HTML site with 2 input forms allow me change the values (content1, content2) without edit above file manually. I can enter new data and click update button, then it will update new values of above php file.

How do I create this file? There are no SQL DB or complicated functions.

Thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-14-2009, 08:37 AM
jane0109's Avatar
Set Avatar
Junior Member
 
Join Date: Feb 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
jane0109 is on a distinguished road
You can check out W3 School.

PHP Tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-16-2009, 12:12 AM
namidu's Avatar
Set Avatar
Junior Member
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
namidu is on a distinguished road
hai

make test.php content
<?php
if (isset($_POST["Send"])) {
echo "value 1: {$_POST["value1"]} <br> Value 2:{$_POST["value2"]}";
}
?>
<br>
<FORM method="POST" action="test.php">
<table border="0" cellpadding="2">
<tr>
<td>value1</td>
<td><input type="text" name="value1" size="30">
</td>
</tr>
<tr>
<td>value2</td>
<td><input type="text" name="value2" size="30">
</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<input type="submit" name ="Send" value ="Send" >
</div></td>
</tr>
</table>
</FORM>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Similar Threads
Thread Thread Starter Forum Replies Last Post
What Can Php Scripts Online Do for your Website? balbata Programming / Scripts 3 04-24-2009 01:52 PM
PHP confusion Buggy123 Programming / Scripts 1 10-14-2008 07:46 PM
Indian PHP developer shru_development Making Money / Main Discussion Forum 0 04-12-2008 09:48 AM



All times are GMT -5. The time now is 07:03 PM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Internet Marketing ForumsAd Management by RedTyger

Internet Marketing News | Prospect Response
Hosted By Server Yard

Internet Marketing Forums - Bringing Internet Marketing Ideas to Reality Internet Marketing Forums - Bringing Internet Marketing Ideas to Reality Internet Marketing Forums - Bringing Internet Marketing Ideas to Reality

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19