Jump to content


Photo

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


  • Please log in to reply
6 replies to this topic

#1 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 08 May 2006 - 03:16 AM


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

Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 08 May 2006 - 03:36 AM

Can you be more specific?

#3 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 08 May 2006 - 04:02 AM

[!--quoteo(post=372186:date=May 8 2006, 03:36 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ May 8 2006, 03:36 AM) View Post[/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.
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"];

}

Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#4 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 08 May 2006 - 04:12 AM

That makes even less sense then your first attempt. Do you have a question?

#5 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 08 May 2006 - 04:18 AM

[!--quoteo(post=372199:date=May 8 2006, 04:12 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ May 8 2006, 04:12 AM) View Post[/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--]
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#6 takeiteasy

takeiteasy
  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts

Posted 08 May 2006 - 04:20 AM

maybe you should try

$level=$row[level];


#7 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 08 May 2006 - 04:23 AM

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

$level=$row[level];
[/quote]
That would be syntacticly incorrect.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users