Topic awaiting preservation: PHP Newbee (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-20-2002 18:44
ive started lerning php |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
posted 02-20-2002 19:21
It's connected, and you want to know how to get the info out? |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-20-2002 19:32
jes thats right....i know no one will give me a map but a push in the right direction and some sites where to finde tutorials??? |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
posted 02-20-2002 19:40
Go to http://www.php.net and read the section on FTP functions. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 02-20-2002 21:13 |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
posted 02-20-2002 21:15
Sorry; got mixed up with another request. |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 02-20-2002 21:19
If you could give a little better discription of how your database is set up, what kind of database you are using, and what you want to display from it, we could probably help you a little better. |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 13:55
i'm using a sql Database and alli realy want is to have a newsscript that orders the Titles by date. |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
posted 02-21-2002 14:37
Did you set up the database tables? |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 14:50
yes if done that |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 15:01
my first try but i doesnt realy work |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-21-2002 15:02
www.php.net/manual is your all time number 1 ressource to go! |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-21-2002 15:05
try: |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 15:06
hehe works partly ..but how do i get all the data in the tablerow ?? |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-21-2002 15:09
for ($i=0;$i<count($datensatz);$i++) { |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 15:44
so the script now reads one dataset but it doesnt erad out all (like in a newsscript) |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-21-2002 16:04
as i said above, you have to do mysql_fetch_array everytime you want to access the next row. |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 16:16
hmm no changes http://www.wrightone.org/news.php |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-21-2002 16:24
i dont see much there. |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 16:36
<?php |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
posted 02-21-2002 16:40
Forgot to mention that; use a while loop: |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-21-2002 16:48
hmmm. dont see any errors there... |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 16:58
now youve confused me |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-21-2002 17:00
maybe because you are already at the end of your mysql-table. |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 17:06
4: Title Content User Date |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-21-2002 17:09
i think these are the columns. i meant the rows. (how many entries) |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 17:10
at the moment ive got 2 but those will increase |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-21-2002 17:16
hmmm... that is really strange. |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
posted 02-21-2002 17:18
Why are you counting and then going back to print? |
Nervous Wreck (II) Inmate From: Carinthia |
posted 02-21-2002 17:20
Hai Blacknight! |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 17:21
no i dont have to count..i joust wqant all the datasets to be read out |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 02-21-2002 17:38 |
Paranoid (IV) Inmate From: Harrow, Ontario, Canada |
posted 02-21-2002 18:19
Because in this case, odds are it won't be one cycle. |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 18:22
w´hy take it out wat would it change ...i wont to understand what im doing to...thx for all you |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-21-2002 18:41
having a look at: http://www.wrightone.org/news.php |
Bipolar (III) Inmate From: INFRONT OF MY PC |
posted 02-21-2002 20:27
yes it workes ive youst have to see how i can formate it *gG* |