anderson
Members-
Posts
33 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
anderson's Achievements
Jr. Member (3/6)
9
Reputation
-
Oh, good to know. ?
-
OK, I'll remember that, and any Admin here please delete that info for me, guess I cann't do that on my own. And I find it hard to amend my post, only get a short window of one minute or so. And, yes, I DID the hello world tuts. Also I'm watching some youtube tuts by Ryan. Hope I could learn fast. Thanks.
-
You saved my life !!!!!! This works: <html> <body> <?php echo "<h1>$page->title</h1><br>"; ?> <?php foreach($page->we as $member): ?> <?php foreach($member->images as $image): ?> <img src="<?php echo $image->url; ?>" alt=""> <?php endforeach;?> <?php echo $member->wemember; ?><br> <?php endforeach;?> </body> </html> New PHP version is more tight? And I appreciate help of everybody here, so nice!
-
And, I've migrated my local site to a free webhosting, I don't know if it'll be easier this way, if so, please take a look: http://tubezyx.000webhostapp.com/test-repeat/ admin login: admin pswd:147258369
-
Thanks for fast response. my last post IS the entire page of \site\templates\testrepeater.php I'm new to all this, I didn't create any shortcut of PHP, Wordpress or anything. Just tried ANSI, Unicode, UTF-8. All the same. And yes, PW debug is ON. Not in the Tracy Debugger console panel.
-
another format: <? foreach($page->we as $member): ?> <? foreach($member->images as $image): echo '<img src="' . $images->url . '" alt="">' <? endforeach;?> <? endforeach;?> still similar result.
-
Thanks for your help. first() is recognized as unknow function? To make it clear, with @adrian's code, I removed everything else that's working, only kept: <? foreach($page->we as $member): ?> <? foreach($member->images as $image): <img src="<?php echo $images->url; ?>" alt=""> <? endforeach;?> <? endforeach;?> and the result output is: we as $member): ?> images as $image): that's always the same problem. Really don't know what is going on.
-
<html> <body> <?php echo "<h1>$page->title</h1><br>"; ?> <? foreach($page->we as $member): ?> <img src="<?php echo $member->Images->url; ?>" alt=""> <?php echo $member->wemember; ?><br> <? endforeach;?> </body> </html>
-
-
anderson started following php basics? about Repeater print out
-
Hi, For the purpose of learning, as shown in this photo, I created a repeater field "we", then a template, then a page. But in /templates/testrepeater.php, I has some problem, the "foreach" part does not work as expected. <html> <body> <?php echo "<h1>$page->title</h1><br>"; ?> <? foreach($page->we as $member); ?> <img src="<?php echo $member->images->url; ?>" alt=""> <?php echo $member->wemember; ?><br> <? endforeach;?> </body> </html> Could anybody please help point out my error? Thanks in advance.
-
what do you call this kind of navigation bar?
anderson replied to anderson's topic in Getting Started
Good to know. -
Oh, I see. Thank you very much, sir.
-
what do you call this kind of navigation bar?
anderson replied to anderson's topic in Getting Started
Thanks for the tip, I'll learn that. -
what do you call this kind of navigation bar?
anderson replied to anderson's topic in Getting Started
Thanks for your help. Yesterday I installed MSN, and some test trying to understand its options. But in all results the menu is verticle. I'll learn deeper. -
Another dumb question, but I have to ask: For example, Edit Field: body ->input->required: If checked, a value will be required for this field. What's it about? I did some test: I create a test field of text, then a test template, then a page. I switch test field "required", nothing changes. So it's not what I guessed.