Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sameerG

Pages: [1]
1
Code: [Select]
$sql = "UPDATE ".USERS_TABLE."
            SET  user_name='$user_name',user_country='".$user_info['user_country']."',user_state='".$user_info['user_state']."',user_address='".$user_info['user_address']."',user_phone='".$user_info['user_phone']."',user_fax='".$user_info['user_fax']."',user_web='".$user_info['user_web']."',user_mod_height='".$user_info['user_mod_height']."',user_mod_weight='".$user_info['user_mod_weight']."',user_mod_waist='".$user_info['user_mod_waist']."',user_mod_hips='".$user_info['user_mod_hips']."',user_mod_chest='".$user_info['user_mod_chest']."',user_fashion_is='".$user_info['user_fashion_is']."',user_fashion_in='".$user_info['user_fashion_in']."',user_workexp='".$user_info['user_workexp']."',user_achiv='".$user_info['user_achiv']."',user_goal='".$user_info['user_goal']."'
where user_id=".$user_info['user_id'];
     $result=$site_db->query($sql);

I have also tried following qury to,

Code: [Select]
SET ".get_user_table_field("", "user_name")." = '$user_name'
but it cant work,

it replaces null in place of variables name.  So please help me I completely new to using PHP and also 4images too.

Thanks in advance

2
I have attached screen shot of form.

In which username, email fields are from user_table like that I have to display other fields, name, city, address so on.
those fields are in other table named user_details how can I do this I really not getting the proffer linking of use_table itself so I am confused about where to fire query related to user_details table.

Thanks In advance,
SameerG

3
Hello friends,

I have added some more fields to member edit form. I have to edit those fields but get problem while displaying retrieve fields to form for edit.
I have not getting proper linking, so friends please help me to display those fields I am new to using 4images CMS/template.
waiting for reply.

Thanks In Advance,

SameerG 

4
Hello Friends,

my query is,

I am using 4image CMS with wedding photography template,
So friends I want to display MySQL Table fields on  HTML  template. I have tried at my best but it display only single row. either last row or selected row,
please help me to show all rows.

one thing friends my PHP and HTML pages are separatly written.

Please help me It's very urgent.

Thanks in advance.

Thanks and Regards,
SameerG

5
Hello Friends...
I am new to using PHP and  I am using 4images wedding-photography template...
I have to retrieve all rows from MySQL table and show it in HTML template how can I do this from last three
days I am trying to retrieve in PHP if I echo my code it shows all rows but in HTML template just last value is displayed
please help me to solve this problem

Thanks in advance.

Thanks And Regards,
SameerG

Pages: [1]