What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP parsing certain lines of a text file

Pages: (2): « First « 1 [ 2 ] Last »
PHP parsing certain lines of a text file
Author: Message:
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. RE: PHP parsing certain lines of a text file
@Nana, what I posted above is the whole search.php.
I use
HTML code:
<form method="post" action="search.php">
<input type="text" value="Enter Player Name" name="search" size=25 maxlength=25>
<input type="Submit" name="Search" value="Search">
</form>

on the main page.

I dont know how I missed that <br>, that fixed it :) Thanks WDZ :)

This post was edited on 11-24-2009 at 05:50 PM by Jimbo.
11-24-2009 03:22 PM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: PHP parsing certain lines of a text file
quote:
Originally posted by Jimbo
@Nana, what I posted above is the whole search.php.
it isnt because nowhere on that page is there this html:

HTML code:
<div id="header">
<a href="http://sammyservers.com/reports/?sort=33">Return to Reports table</a>
</div>

11-25-2009 12:38 AM
Profile PM Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: PHP parsing certain lines of a text file
quote:
Originally posted by WDZ
HTML code:
</td><br> <td>

What's that <br> doing in there, outside of a table cell? :p
:rofl:
Well spotted, sir. You deserve a cookie!

[Image: cookie_cookie.png] :cheesy:
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
11-25-2009 06:29 AM
Profile E-Mail PM Web Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
O.P. RE: RE: PHP parsing certain lines of a text file
quote:
Originally posted by NanaFreak
quote:
Originally posted by Jimbo
@Nana, what I posted above is the whole search.php.
it isnt because nowhere on that page is there this html:

HTML code:
<div id="header">
<a href="http://sammyservers.com/reports/?sort=33">Return to Reports table</a>
</div>


Well, I removed the 2 div elements as they wouldnt matter, but apart from that, its the whole code :)
11-25-2009 07:57 AM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: PHP parsing certain lines of a text file
btw, i just tested it again and it worked fine... =\
11-25-2009 09:24 AM
Profile PM Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: PHP parsing certain lines of a text file
Also, read about sql injection.
The previous sentence is false. The following sentence is true.
12-14-2009 11:15 PM
Profile PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On