Jump to content

how to add post to a $row["varable name"]


redarrow

Recommended Posts

[!--quoteo(post=372186:date=May 8 2006, 03:36 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ May 8 2006, 03:36 AM) [snapback]372186[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Can you be more specific?
[/quote]


i need to get this to update but i think i got a problam becouse theres no post.
[code]
while($row=mysql_fetch_assoc($result)) {


$id=$row["id"];
$name=$row["name"];
$password=$row["password"];
$email=$row["email"];
$band_name=$row["band_name"];
$music_played=$row["music_played"];
$number_of_musicans=$row["number_of_musicans"];
$playing_history=$row["playing_history"];
$band_personalty=$row["band_personalty"];
$number_of_played_venues=$row["number_of_played_venues"];
$club=$row["club"];
$pub=$row["pub"];
$partys=$row["partys"];
$functions=$row["functions"];
$house_party=$row["house_party"];
$weedings=$row["weedings"];
$churches=$row["churches"];
$how_much_per_hour_do_you_charge=$row["how_much_per_hour_do_you_charge"];
$cash=$row["cash"];
$credit_card=$row["credit_card"];
$both=$row["both"];
$terms_condition=$row["terms_condition"];
$not_play_out_date=$row["not_play_out_date"];
$dates1=$row["dates1"];
$dates2=$row["dates2"];
$dates3=$row["dates3"];
$dates4=$row["dates4"];
$date_added=$row["date_added"];
$end_date=$row["end_date"];
$user_ip=$row["user_ip"];
$level=$row["level"];

}
[/code]
Link to comment
Share on other sites

[!--quoteo(post=372199:date=May 8 2006, 04:12 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ May 8 2006, 04:12 AM) [snapback]372199[/snapback][/div][div class=\'quotemain\'][!--quotec--]
That makes even less sense then your first attempt. Do you have a question?
[/quote]

sorry thorpe i trie i done it ok

$id=($_post["id"]);

[!--sizeo:5--][span style=\"font-size:18pt;line-height:100%\"][!--/sizeo--]solved[!--sizec--][/span][!--/sizec--]
Link to comment
Share on other sites

[!--quoteo(post=372202:date=May 8 2006, 02:20 PM:name=takeiteasy)--][div class=\'quotetop\']QUOTE(takeiteasy @ May 8 2006, 02:20 PM) [snapback]372202[/snapback][/div][div class=\'quotemain\'][!--quotec--]
maybe you should try

[code]
$level=$row[level];
[/code]
[/quote]
That would be syntacticly incorrect.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.