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 9059915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:05:26+00:00 2026-06-16T15:05:26+00:00

I have searched and can not find anything on T_PRINT syntax errors. So here

  • 0

I have searched and can not find anything on T_PRINT syntax errors. So here it goes, I don’t see how this is “unexpected”. It is referring to the print “Your Staff Application has been posted” etc. line.

<?php
session_start();
include "globals.php";
if($_POST['app']) 
{ 
$db->query("INSERT INTO staffapps VALUES('',$userid,'{$_POST['pos']}','{$_POST['app']}')", $c)
or die
("Your staff application could not be processed. Make sure you have filled out the form completely!"); 
 
print "Your Staff Application has been posted for our staff to review, your results will be decided within 14 days! Good Luck!"; 
 
} 
else
 
print "<h3>Staff Application</h3>
 
 
<center><h8><b>Please read the <a href='stafftoc.php'><font color='yellow'>Terms & Conditions</font></a>before sending an application!</b>
 
<form action='staffapps.php' method='post'>
Position <select name='pos'><option value='3'>Admin</option><option value='5'>Secretary</option><option value='6'>Assistant</option></select>
 
Why do you deserve the position?
 
Please bare in mind that staff look for professional members so be sure to spell correctly with the right grammar and punctuation!
 
If your staff application appears un-professional, it will be dismissed! 
 
<textarea rows='7' cols='40' name='app'>{$_GET['app']}</textarea>
 
<input type='submit' value='Submit Application' /></form>";
 
$h->endpage;
?>
  • 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-06-16T15:05:27+00:00Added an answer on June 16, 2026 at 3:05 pm

    Some of your code lines seem to have some funny trailing characters that shouldn’t be there; here’s a hexadecimal representation of them:

    0xc2 0xa0
    

    I’ve been told that this is a non-breaking space. Clearing those characters from your code should fix the issue.

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

Sidebar

Related Questions

I have searched a lot and tried much but I can not find the
I have searched but can't find why this simple code will fail in Drools
I have searched the web for this one but didn't find anything similar. Say
So I have searched all over the place and I can not seem to
I have searched everywhere but can't find a simple example of paging in MySQL
I have already googled and searched stackoverflow but I can find nothing related to
I've searched for this on Apple's site and can only seem to find documentation
I've searched for 2 days and can't find anything. I find things that are
I have searched Google and abroad and I cannot find anything about CFWheels Unit
Okay, I'm not trying to do anything super complex, I have searched, and searched,

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.