Jump to content

Archived

This topic is now archived and is closed to further replies.

redarrow

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

Recommended Posts


How to add post to this cheers
[code]
$level=$row["level"];
[/code]

Share this post


Link to post
Share on other sites
Can you be more specific?

Share this post


Link to post
Share on other sites
[!--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]

Share this post


Link to post
Share on other sites
That makes even less sense then your first attempt. Do you have a question?

Share this post


Link to post
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--]

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

×

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.