Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 882223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:23:42+00:00 2026-05-15T12:23:42+00:00

I have created a button specific for submitting appeals for punishments. Here is the

  • 0

I have created a button specific for submitting appeals for punishments.

Here is the page: oldserver.net/button/lookup.php?id=80

It doesn’t work like it should… I included test.php inside the main file at lookup.php and it doesn’t work at all. Search queries work just fine. It’s javascript that is not working right. So I don’t know how to fix it, I included javascript through “include(“js.html”); inside test.php.

Here is the working one without it on my page: http://oldserver.net/button/test.php

What I am trying to do is make test.php work on my page with the appeals. I want to do this so on the template, I can add in MySQL data into the template that is sorta like autofill. So they can copy the template, and go to my site and submit it.

Do you know what the problem is why the button is not functioning like it should?

Here’s what I have in the first one.

while($row=mysql_fetch_array($result)){

 $offender=$row['xxxx'];
 $enforcer=$row['xxxx'];
 $purpose=$row['xxxx'];

//-display the result of the array

echo "<ul>\n"; 
echo "<li>Username: " . $xxxx . "</li>\n";
echo "<li><font color=\"green\"><i>Moderated by: " . $xxxx . "</i></font></li>\n";
echo "<li><font color=\"red\">Reason for moderation: " . $xxxx . "</font></li>\n";
echo "</ul>";
include("test.php");

And this is what is inside test.php

<title>Test The search</title>
<?php 
include("js.html"); 
include("config.php");
?>

Js.html just contains the functions for javascript,

here’s config.php ->

<input "type="button" value="Submit an Appeal" id="button1" onclick="executeAll();"/>
<input "type="button" value="Send Appeal" id="button2" style="visibility:hidden" onclick="window.open('http://oldserver.net')"/><br>
<textarea id="app" style="visibility:hidden" onclick="select_all();">...Template... </textarea><br>
<div id="instructions" style="display:none"><i>Copy this appeal then click send<i></div>

Does anyone know whats wrong? Please help meee.

Thank you very much for your consideration, patience, and valuable time. =)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T12:23:43+00:00Added an answer on May 15, 2026 at 12:23 pm

    What are ‘app’ and ‘button2’ in the JavaScript function executeAll()?

    function executeAll(){
    wat(app);
    wat2(button2);
    valChange();
    select_all();
    toggle_visibility('instructions');
    }
    

    You’ve hard coded the IDs in the functions, so this will work:

    function executeAll(){
    wat(true);
    wat2(true);
    valChange();
    select_all();
    toggle_visibility('instructions');
    }
    

    For whatever reason, in test.php, ‘app’ and ‘button2’ are being evaluated as true. This isn’t happening in lookup.php.

    If anyone can provide the explanation for that, I’d be grateful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created button 2 below: <input id=Button1 type=button value=Stop onclick=alert('hello world');/> <input id=Button2
I have created a button CSS class that uses background images with different positions
I have created a button in my Android application & I tried to set
I have created a button. So when I click the button it gives me
I have created a button which I want to expand/contract. I found a way
I have a Main class and a HelloWorld class. I have created a button
I am new to iphone development. I have created a button in the view.
I have created one dynamic button in my application and I call the following
I have created my own button class called custom_btn. I created it on the
I have created a shiny button in photoshop and now wish to use it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.