Jump to content
php.lv forumi

Mistisks eror


Puika1

Recommended Posts

ka var izlabot so kludu " Warning: Invalid argument supplied for foreach() in /home/machoo/public_html/member_update.php on line 11 "

 

		// update custom fields
		$customfields = $ipbwi->member->listCustomFields();
		foreach($customfields as $field){
			$ipbwi->member->updateCustomField($field['pf_id'],$_POST['field_'.$field['pf_id']]);
		}

 

un 11 rinda ir shi

foreach($customfields as $field){

Link to comment
Share on other sites

tagad rada baltu lapu ar sadu eror Parse error: syntax error, unexpected '}' in /home/machoo/public_html/member_update.php on line 115 kad iekopeju brieza variantu

 

es mazliet biju mainijis scriptu un saja http://paste.php.lv/99f037f5b109e3e61974ed3f2a08835b 115 rinda ir 114 rinda (#

<?php }else{ ?>)

Edited by Puika1
Link to comment
Share on other sites

es padomaju un isteniba neko nemainiju tikai pieliku so (print_r($customfields);) un tas nozime ka pa vienu rindu pacelas.Be nau nekadas iespejas uzlikt ta lai ta kluda butu,bet pazinojumu neraditu,jo teoretiski man viss strada

Edited by Puika1
Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...