Search found 8 matches
- Thu Feb 18, 2010 9:42 pm
- Forum: General Discussion
- Topic: Does anyone know what this is? (Maybe libSVM?)
- Replies: 0
- Views: 248
Does anyone know what this is? (Maybe libSVM?)
so I have this program that takes an image and outputs readable text by analyzing. I'm pretty sure its knows how to read the files by these data files in the screenshot.. Problem is the images have changed SLIGHTLY resulting in it not being able to read them correctly anymore. In my head I'm thinkin...
- Thu Feb 11, 2010 12:43 pm
- Forum: PHP - Code
- Topic: How to read a text file in chunks.. 100 lines at a time (\n)
- Replies: 2
- Views: 85
Re: How to read a text file in chunks.. 100 lines at a time (\n)
If you guys need a little bit of clarification. say I have a text file with Nick Bob John Larry Ashley Britney Tom Lisa Joshua Say I need to process that list 2 lines at a time. First chunk [Nick,Bob] Second chunk [John,Larry] Third chunk [Ashley,Britney] Does anyone have the slightest idea of how t...
- Thu Feb 11, 2010 1:03 am
- Forum: PHP - Code
- Topic: How to read a text file in chunks.. 100 lines at a time (\n)
- Replies: 2
- Views: 85
How to read a text file in chunks.. 100 lines at a time (\n)
I have tried numerous different codes and I keep failing at doing this. Say I have a large text file, each line contains valuable data..so I can't just do a fgets and set a certain amount of data to read because I am not sure on each lines length so some times the data would get cut off and not proc...
- Fri Jul 11, 2008 11:05 pm
- Forum: PHP - Code
- Topic: Code won't work
- Replies: 2
- Views: 218
Re: Code won't work
Not trying to be pushy.. I know this isn't really the smallest or easiest code question but it would be really appreciated if some one could help me out. Thanks guys.
- Fri Jul 11, 2008 8:01 pm
- Forum: PHP - Code
- Topic: Code won't work
- Replies: 2
- Views: 218
Code won't work
Ok so heres the situation I have code to echo data from a db and when I include the Function.php which is suppose to grab 3 urls from 3 websites it doesn't do anything. Without the included function it works fine.. and testing the function by itself works fine as well with this code: <?PHP include...
- Thu Jul 10, 2008 1:29 pm
- Forum: PHP - Code
- Topic: Select where is giving me problems
- Replies: 7
- Views: 122
Re: Select where is giving me problems
I fixed it by using a different method.
Can some one tell me how I could go about retrieving data from db then some how putting different data in different areas of the page without having to echo all the html within the php blocks. Are there global variables or something I don't know about?
Can some one tell me how I could go about retrieving data from db then some how putting different data in different areas of the page without having to echo all the html within the php blocks. Are there global variables or something I don't know about?
- Thu Jul 10, 2008 12:51 pm
- Forum: PHP - Code
- Topic: Select where is giving me problems
- Replies: 7
- Views: 122
Re: Select where is giving me problems
WITH is a reserved MySQL word. Try: $data = mysql_query("SELECT * FROM cheater WHERE Cheater = '$cheater' AND `With` = '$with'"); Here's a list of reserved words in MySQL 5.0: http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html Thanks but I just get this: You have an error in your ...
- Thu Jul 10, 2008 12:35 pm
- Forum: PHP - Code
- Topic: Select where is giving me problems
- Replies: 7
- Views: 122
Select where is giving me problems
Hey guys, I am trying to write a script that will pull up certain info from the right row from the table based on 2 variables. $cheater = 'Samhenry'; $with = 'Nickdoe'; $data = mysql_query("SELECT * FROM cheater WHERE Cheater = '$cheater' AND With = '$with'"); $data = mysql_query($data...