$buddylist as $group => $users是什么意思?谢谢大家

gwsr 2007-08-06 02:25:10
$buddylist as $group => $users是什么意思?谢谢大家
...全文
543 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
gwsr 2007-08-06
  • 打赏
  • 举报
回复
非常感谢!
aileenguan 2007-08-06
  • 打赏
  • 举报
回复
=>

前面是key 后面是value

主要是数组,比如说一个数组
array('1'=>'中国','2'=>'日本鬼子');

1 2就是key
中国,日本鬼子就是值

=>的作用明白了么?
gwsr 2007-08-06
  • 打赏
  • 举报
回复
先谢谢,不用管?我想知道这句话是干吗用的,尤其是这个=>,请您指教!我的msn是guanwei@263.net,不知道能不能和你即时交流
familyX 2007-08-06
  • 打赏
  • 举报
回复
对于数组$buddylist按按键名$group 值 $users循环.不知道这样说,可以不.
wasuka 2007-08-06
  • 打赏
  • 举报
回复
不用管
gwsr 2007-08-06
  • 打赏
  • 举报
回复
不好意思,一点也不懂,这个=>是什么意思呀?谢谢
wasuka 2007-08-06
  • 打赏
  • 举报
回复
foreach()语法
Table of Contents Preface 1 Chapter 1: Plugin Basics 5 Safety first 6 Automatic install versus manual install 6 Automatic plugin installation 6 Plugin detail 8 Downloading, unpacking, installing 9 Activating the plugin 9 Connection Information required 10 Manual installation 10 Manually installing a plugin with a Mac 11 Transferring a plugin 12 Manually installing a plugin on Windows 13 Creating a bookmark with WinSCP 16 Transferring a plugin to your blog 16 Activating your plugin 17 Finding a plugin's settings 17 How plugins work 17 Managing plugins 18 Keeping your plugins up-to-date 19 Learn by tinkering 19 WordPress plugin API 19 PHP references 19 CSS 19 JavaScript 20 Troubleshooting plugins 20 Editing plugins 21 Summary 22 Table of Contents [ ii ] Chapter 2: Generating Content 23 GD Star Rating 23 Fixing the default ratings 24 Turning off Thumbs Up/Thumbs Down on posts 24 Turning off Star Ratings on comments 24 Better Tag Cloud 25 Yet Another Related Posts Plugin (YARPP) 26 My Page Order 27 Get Recent Comments 27 Viper's Video Quicktags 28 WP Greet Box 29 NextGen Gallery 30 Setting up your first gallery 31 Adding your gallery to a post or a page 32 Zemanta 32 CForms II 34 CForms administration 35 Modifying the default form 36 Adding your form to a page, post, or widget 36 Advanced CForms customizations 37 File upload settings 37 Messages, text, and button label 37 Core Form Admin / e-mail options 37 Admin e-mail message options 37 Auto confirmation 37 Multi-part / multi-page forms 37 Tell-A-Friend form support 38 WP comment feature 38 Third-party read-notification support 38 MapPress—Google maps 38 Adding a map to a post or page 39 WP-O-Matic 40 Creating your first campaign 40 Adding feeds 41 Categories 42 Understanding WP-O-Matic's options 42 Search unleashed 43 Setting up your search index 44 Creating your first index 45 WP Web Scrapper 46 Copyright warning 47 Adding a scrapping 47 Summary 48 Table of Contents [ iii ] Chapter 3: Sharing Content 49 TweetMeme 49 Setting up TweetMeme 50 Wordbook 51 WP Download Manager 52 Adding a new download 53 Inserting a download into a post 54 Twiogle Twitter Commenter 54 ShareThis 55 Setting up ShareThis 56 Wibiya Bar - Beta 57 Installing the Wibiya bar 58 WP Facebook Connect 59 Creating an app ID for your blog 59 Adding the connect button to your comments 60 Twitter Friendly Links 61 Feedburner Feedsmith 62 Burning your feed 63 Create a Google account 63 Verify your blog's feed URL 63 Burn your feed 63 Name your feed 64 Configuring WP-Feedburner 64 SendIt 65 SendIt overview 66 Creating your first newsletter 67 Adding subscribers 67 Automatic import 67 SendIt Widget 68 Sending a mail 69 Subscribe-Remind 69 Sociable 70 Understanding social options 71 Disabling sprite usage for images 71 Disabling alpha mask on the share toolbar 71 Tagline 71 Position 71 Use Text Links 72 Image Directory 72 Use Thisbox/iFrame on links 72 Open in New Window 72 Awe.sm 72 Summary 73 Table of Contents [ iv ] Chapter 4: Style and Function 75 About Me Widget 76 Setting up your About Me Widget 76 Category Posts Widget 77 After the Deadline 79 Using After the Deadline 80 WordPress Mobile Pack 80 Mobile themes 82 Browser detection and domain detection 83 Important Mobile Themes settings 83 WPTouch 84 Web App icon 86 Page icons 86 Creating your own icon 86 Push notifications 86 WP-Prowl 86 Setting up WP-Prowl 88 Favicons 88 Setting up your Favicon 90 Picking from the gallery 90 Use your Gravatar as Favicon 91 Using a remote icon 91 Theme Switcher 91 Advanced marketing use 92 Image Widget 92 Post Layout 94 Inserting content 95 Breadcrumb NavXT 96 Inserting the Breadcrumb 97 Basic Breadcrumb 97 Exec-PHP 97 Using Exec-PHP to list your latest tweets 98 Summary 99 Chapter 5: Building a Community with BuddyPress 101 Before setting up BuddyPress 101 Sticking to your Community Purpose 102 BuddyPress 102 BuddyPress features 103 Smooth member signup 103 Twitter-like posting 104 Profiles 105 Table of Contents [ v ] Member communication 105 Forums 106 Groups 106 Members Directory 107 BuddyPress themes 108 Cosmic Buddy 108 BP Nicey 109 Sense and Sensibility BP 1.6 110 More themes 110 BuddyPress plugins 111 Group Documents 111 TweetStream 112 Connecting to Twitter 112 BuddyPress Album+ 114 Setting up your Community Groups 115 Step 1: Group details 115 Step 2: Settings 116 Step 3: Avatar 116 Tips for driving traffic to your community 117 Friends and family 117 Social networks 117 Twitter 118 Facebook 119 Google AdWords 120 Google search 120 Summary 122 Chapter 6: Generating Revenue 123 Donation Can 124 Zazzle Widget 125 Setting up the Zazzle Widget 126 AmazonFeed 127 Setting up AmazonFeed 128 Configuration 128 Post / page specific items 128 Advertising Manager 128 Creating a Google AdSense Ad 130 Creating your first ad in Advertising Manager 132 Adding the Widget 132 iTunes Affiliate Link Maker (iTALM) 133 Adding links to a post 134 Table of Contents [ vi ] WP e-Commerce, FREE Version 135 Setting up WP e-Commerce 136 Adding a digital product 137 Product Detail 137 Categories and Tags 137 Price and Stock Control 138 Shipping Details 138 Product Images 139 Product Download 140 Setting up your Payment Gateway 140 Web Invoice—invoicing and billing for WordPress 141 Setting up an invoice 143 Select the client 143 Client Information 143 Recurring Billing 143 Invoice Details 144 Publish 144 My Ad Manager 144 Creating the Advertise Here Page 145 Adding the Widget 146 Setting up your House Ads 146 Summary 147 Chapter 7: Working with Multiple Authors 149 Authors Widget 149 Author Spotlight 151 Styling the Author widget 152 Blog Metrics 152 Cimy User Extra Fields 153 Pre-Publish Reminder 154 Edit Flow 155 Audit Trail 157 WP-CMS Post Control 158 Guest Blogger 159 Adding a new article import 160 Subscribe to Author Posts Feed 161 Author Advertising 162 Setting up Author Advertising widget 163 The Author Page 164 Advertising code 164 Co-Author Plus 165 Private Messages for WordPress 167 Summary 168 Table of Contents [ vii ] Chapter 8: Security and Maintenance 169 Security basics 169 Passwords 170 Update often 170 Back up often 170 Limit Login Attempts 170 Setting up Limit Login Attempts 171 Lockout 172 Secure WordPress 172 Secure WordPress's options explained 173 Akismet 174 Bad Behavior 176 Upload+ 177 WP Security Scan 178 Latest version 179 Table prefix 179 Hiding Version # and Meta Tag ID 179 WordPress DB Errors 180 .htaccess in Admin folder 180 WP-DBManager 180 Understanding your database's health 181 What is a database? 181 What is MySQL? 181 How does WordPress use MySQL? 181 Repair, Optimize, and Backup 181 WP-DB-Backup 182 WordPress Backup 183 Maintenance Mode 183 Customizing the maintenance notice 184 WP-Optimize 185 Quick Cache 186 Quick Cache Options explained 187 Error Reporting 188 Auto Delete old log files 189 Configuration 189 Summary 189 Chapter 9: Power Admin 191 Fluency Admin 192 Quick key access 193 Styling the login screen 193 StatPress 194 Table of Contents [ viii ] Key datapoints 195 Latest Referrers 195 Search Terms 196 Operating Systems 196 Browsers Used 197 Spy View 197 404 Notifier 198 Shockingly Big IE6 Warning 199 Admin Links Widget 200 WordPress Admin Bar 201 Code Editor 202 WordPress Admin QuickMenu 203 Setting up your links 204 Email Users 204 E-mail ideas 205 Exclusive e-mailer 206 Special deals and offers 206 Helping a cause 206 Tips and tricks 206 Broken Link Checker 206 Admin Management Xtended 207 Understanding the interface 208 Menu Manager 209 Simple Tags 210 Configuring third party Taxonomy Services 211 Redirection 212 Widget Logic 213 Commonly used logic 214 Summary 214 Chapter 10: Time for Action 215 The open source business model 215 WordPress for prototyping 216 Real business models with WordPress 216 Selling digital goods 216 Selling themes 217 Selling plugins 218 Selling advertising spots 219 Job board 220 Corporate blogging software 220 Hosting WordPress 221 Continuing education 222 Summary 223 Index 225

21,886

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧