Search found 10 matches
- Thu Oct 17, 2002 4:31 pm
- Forum: PHP - Code
- Topic: Beans are free, trees are...well...their not..ya
- Replies: 4
- Views: 1777
Beans are free, trees are...well...their not..ya
Aloha everyone, It seems to me that maybe now I can post a question and someone will help (I have this problem with posting questions and they dont get answered, its a family curse or something :) ). Its probably a very simple problem that I have overlooked because I am trying to just get this done,...
- Wed Oct 16, 2002 7:20 pm
- Forum: PHP - Code
- Topic: Does PHP support user assigned Superglobal variables?
- Replies: 6
- Views: 1542
- Wed Oct 16, 2002 5:57 pm
- Forum: PHP - Code
- Topic: Help me convince the ASP guy about PHP usage.
- Replies: 53
- Views: 15475
wonderful english....really
alrighty then, btw you englist is spiffy..promise. well first off, yes I would have to say that your safer using php. besides that though, there are more resources for PHP, people who will help you and all that for FREE. can you say new car? cuz if you can then thats Great! well anyways, You are rig...
- Wed Oct 16, 2002 3:29 pm
- Forum: PHP - Code
- Topic: Very complicated problem here :) please help out
- Replies: 3
- Views: 1285
posting the code
Well I am still having a problem with this code, I got it to work somewhat, it does its job, but some things are still messed up. when i run it, it creates the first table successfully, then it inserts the data into the database correctly, there are only 4 sets of data to import, but it imports 4 mo...
- Wed Oct 16, 2002 3:06 pm
- Forum: PHP - Code
- Topic: Very complicated problem here :) please help out
- Replies: 3
- Views: 1285
aloha
thanks for the help :) its much appreciated. i hadnt thought about going at it in that way :), saves alot on the coding part :). I still have to extract the first string out of the data before the field names to get the table name, but this will make extracting the data much easier. thanks again, -=...
- Tue Oct 15, 2002 2:59 pm
- Forum: PHP - Code
- Topic: Very complicated problem here :) please help out
- Replies: 3
- Views: 1285
Very complicated problem here :) please help out
Aloha, Problem: The data does not go into the database correctly, it skips around, and makes up numbers that dont exist in the data file. Some information: I am writing a script that will take the information given it from a text file and insert it into a MySQL database. this information is comma de...
- Mon Oct 14, 2002 6:24 pm
- Forum: PHP - Code
- Topic: counting instances of a character in a string problem
- Replies: 5
- Views: 1037
forget it...
Hey, dont worry about this one, hopefully somone can delete this post, i just fixed my problem :). but hey thanks for the help anyways. eventually i will find a problem that can stump me.....well... hey anything can happen, even the strangest things like millions of people asking an idiot to be thei...
- Mon Oct 14, 2002 5:24 pm
- Forum: PHP - Code
- Topic: counting instances of a character in a string problem
- Replies: 5
- Views: 1037
alrighty, I think I am onto my problem here, i dont think i need to store my data into arrays if it is going to be looping through each string by string. but it is still not working, i removed the arrays, and the comma counter and such, but something is still not working. Here's the code: if(isset($...
- Mon Oct 14, 2002 5:06 pm
- Forum: PHP - Code
- Topic: counting instances of a character in a string problem
- Replies: 5
- Views: 1037
hmmm.
Well maybe I need to post a bit more on the problem :) alrighty, i have a very huge file, full of data, i chopped the data up into smaller files according to their location. then i load that data, and i chop individual pieces up into an array, using /n with the explode function that data looks like ...
- Mon Oct 14, 2002 4:34 pm
- Forum: PHP - Code
- Topic: counting instances of a character in a string problem
- Replies: 5
- Views: 1037
counting instances of a character in a string problem
Aloha, I need to count the instances of a string. $result = (count_chars($line, 0)); $countedcom = sizeof($result[","]); $countedcom = $countedcom - 5; $counts = $countedcom / 5; i need to count how many commas there are in the string, then subtract that by 5 then divide by 5,this code is ...