Ziddia
-
Posts
8 -
Joined
-
Last visited
Never
Posts posted by Ziddia
-
-
Thankyou
-
Hi! I have created a new radio button and a new onclick button which should send you to one page if the radio button is depressed and another if it is not pressed. Eg
if (code for button depressed) {
//a link I cans be bothered writing
} else {
//a different link.
}
Just the one radio button. Just the one submission button. I can't use PHP for it.
Also, just as a side note, is it possible to connect to mySQL using JavaScript so that I can register whether that button has been pressed? So that it is saved for the entire website.
Thanks!
-
Solved
-
C++ is probably your best and safest bet, but I personally like java despite its failures because I learnt java first. It all depends on what you know best really.
-
Hi, I am a new PHP coder, and I am set on modding phpbb3. I am proficient in Java, HTML, and JavaScript, and I am okay at PHP, although advanced PHP is still very difficult for me. I came here hoping to help others out and get a few of my own questions answered as well.
Thanks for taking the time to read this, and hello, PHPFreaks.
From Ziddia
-
Despite a lot of work to get it good, the page will not update. Anyone know why? The page can be found at http://newportal.zidmc.x10.bz/nportal.php
-
Urk... Sorry im obviously not thinking straight right now. I fixed it but the page refuses to update itself.
-
Thanks- I have another problem. And I don't know what's causing it. Even though I have updated my document, the webpage stays exactly the same. Is this just a slow connection or what?
Here's the updated code:
<!-- INCLUDE overall_header.html --> <?php $a1=file_get_contents("/port/announce/announce1.txt", "r"); $a2=file_get_contents("/port/announce/announce2.txt", "r"); $a3=file_get_contents("/port/announce/announce3.txt", "r"); $a4=file_get_contents("/port/announce/announce4.txt", "r"); $a5=file_get_contents("/port/announce/announce5.txt", "r"); ?> <h2>Announcement!</h2> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <div class="content"> <?php echo $a1; ?> </div> <span class="corners-bottom"><span></span></span></div></div> <h2>Announcement!</h2> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <div class="content"> <?php echo $a2; ?> </div> <span class="corners-bottom"><span></span></span></div> </div> <h2>Announcement!</h2> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <div class="content"> <?php echo $a2; ?> </div> <span class="corners-bottom"><span></span></span></div></div> <h2>Announcement!</h2> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <div class="content"> <?php echo $a3; ?> </div> <span class="corners-bottom"><span></span></span></div></div> <h2>Announcement!</h2> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <div class="content"> <?php echo $a4; ?> </div> <span class="corners-bottom"><span></span></span></div></div> <h2>Announcement!</h2> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <div class="content"> <?php echo $a5; ?> </div> <span class="corners-bottom"><span></span></span></div></div> <!-- INCLUDE jumpbox.html --> <!-- INCLUDE overall_footer.html -->
And here's the webpage: http://newportal.zidmc.x10.bz/nportal.php
Mind looking and telling me why this would happen?
-
Hi,
I am modding phpBB3 and I want to make the contents of a text documents appear in a border. This is what I have in my portal_style.html:
<!-- INCLUDE overall_header.html --> <?php $a1=fopen("/port/announce/announce1.txt", "r"); $a2=fopen("/port/announce/announce2.txt", "r"); $a3=fopen("/port/announce/announce3.txt", "r"); $a4=fopen("/port/announce/announce4.txt", "r"); $a5=fopen("/port/announce/announce5.txt", "r"); ?> <h2>Announcement!</h2> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <div class="content"> <?php echo $a1; ?> </div> <span class="corners-bottom"><span></span></span></div></div> <h2>Announcement!</h2> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <div class="content"> <?php echo $a2; ?> </div> <span class="corners-bottom"><span></span></span></div> </div> <!-- INCLUDE jumpbox.html --> <!-- INCLUDE overall_footer.html -->
Anyone mind showing me how to make it work?
Thanks.
Website won't update?
in PHP Coding Help
Posted
Okay, I've made a new webpage for phpBB3, and it was working until about lunchtime yesterday. The next time I edited it, the page didn't update. I have tried several times to update it since, but it won't work. Here's my portal.php code:
Here's my portal_style.html:
I will provide the others if you need them. Why would this be happening?
Thanks!