[PHP] Control what is going to be exibited on screen

2003-02-05 Thread The New Source
Ok, guys this is it With th code bellow I can get the html file from a url and get the content without the html tags, but I wanna control the exibition of this content and only display the lines 1 to 4, and I can't seem to get how to do this. I thank any advice you can get me. Rodrigo //

[PHP] How to store a file in an array and access each line

2003-02-05 Thread The New Source
How can I read a file in a url, into an array so that I can access each line by itself? Thanx Rodrigo

[PHP] GET HEADLINES FROM ANOTHER SITE

2003-02-04 Thread The New Source
I´d like to know how to get certain headlines from another site. I already got the permission from the site owner, but I'm short on the programing. It would be something like, get the source code from the url: www.url.com and then remove all the html, and get only the part that I need. Does

[PHP] Is there a way to retrieve an entire source code from a php file?

2003-02-04 Thread The New Source
What I want to know is if it is possible to retrieve a source code from a url, with a php file. Something like this: There is a php file that retrieve the source code from the url www.url.com and this source is treated and you get content from this file and show it on the response page. Is

[PHP] How to get a certain line from a file

2003-02-04 Thread The New Source
How can I get a certain line from a file? If I get a file in this way: $f = fopen(http://www.url.com/index.htm,r;); How can I get a certain line of the file index.htm? I would need to get the line number 232, or lines from 232 to 238. How can I get this content? Thanx. Rodrigo

[PHP] How to remove the html Tags?

2003-02-04 Thread The New Source
Hi guys, is there a function that will remove all the Html tags from a file? How should I do it? Thanks for any clues, Rodrigo

[PHP] Drop down Menu

2002-10-08 Thread The New Source
Hi, I need to do a drop down menu that loads the contents from a msql database. Like this: I need a select that has the name of every salesman of a certain department, and this info is dynamic and is recorded in a database (MySql). So what would the select have to be like? Also the load value is

[PHP] Adding to a MySql Database

2002-09-24 Thread The New Source
I have a field on a MySql database that is started with a 0, and I want to add 1 to this field every time a button is pressed on a form. So it should add one every time, like if there is 5 and you press it one time it would have 6.