[PHP] chunk_split();

2004-01-28 Thread Benjamin Trépanier
Title: chunk_split(); Hi, I am using the chunk_split(); function to separe a long long text on differents pages. At this time, I can split the string into x sections of 2000 characters. Now I need to show only the first 2000 . when user click on page #2, its reloading and show the next

[PHP] Random include???

2002-12-19 Thread Benjamin Trépanier
Hi, I'm a newbie in php so sorry for that question! I have a table in a html dcc and I want toinclude a file in a cell, but that file must be random so people load a different page each time they refresh... The basic syntax I use for the include is below now, I want to know how to generate

[PHP] Show only user that variable musiccontain pop

2002-11-27 Thread Benjamin Trépanier
Hi, I need information about a simple command... I have a DB (of course...) and I need to show only ID that variable musiccontain pop I found this example that is suppose to do a similar thing in a msql query... SELECT * FROM $TBL_NEWS WHERE music LIKE '%pop%' AND ORDER BY name So it's not

Re: [PHP] Show only user that variable musiccontain pop

2002-11-27 Thread Benjamin Trépanier
, then get rid of the AND in the where statement; Select only the fields that you need, instead of * Like this: SELECT id FROM $TBL_NEWS WHERE music LIKE '%pop%' ORDER BY name Peter At 03:16 PM 11/27/2002 -0500, Benjamin Trépanier wrote: Hi, I need information about a simple command... I

[PHP] Upload permission on a web_user space...

2002-11-04 Thread Benjamin Trépanier
Hello, I'm trying again to ask you that question because I was not understand. I have a unix server hosting service, my hosting service allow me to create web_server. Those are create for my client who have to upload differents things. So when people are connecting to my ftp (example on IE...)