
teng84
Members-
Content Count
56 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout teng84
-
Rank
Newbie
- Birthday 11/14/1984
Contact Methods
-
Website URL
http://
-
ICQ
0
Profile Information
-
Location
Pasig Philippines
-
Interests
<a href='http://teng.site88.net'>teng</a>
-
try http://www.php.net/manual/en/function.parse-url.php
-
i learn using php in two weeks by 5 pages of lecture... that contains db connection etc..I was force to finish 3 local sites so i have to learn PHP that fast or else i will receive failinggrades as well as my classmates that rely on me
-
it wont read the rest of your code it will stop your script with an error thats says header already been sent something like that..
-
this might help read your csv file parse it so you can insert it into your db...
-
isset(var) check if set so if var is equal to 0 its trueempty(var) if var is equal to 0 zero truevar = null null means 0 or empty so i think isset is enough but if you want to accept 0 values use empty
-
Sometimes when you insert different data type it gives you that message eg insert string to your date table , not quite sure about this but this happens when you select and you take condition like number=string
-
$qry =mysql_query('slect * from tble order by rank');echo '<select name="">'; while($row = mysql_fetch_array($qry)){echo '<option value="'.$row['rankid'].'">'.$row['ranki'].'</option>';}echo '</select>';
-
your code is weird.. this is what really happen when you dont indent your codes.. tab is free..! indent your code properly first and maybe you will the problem all by your self
-
it not right to store images in your database.. I suggest instead of inserting images in your db just store the location of each images.. so you only need to call those images.
-
i guess you need to have at least three tablesnews commentposternews -> news_id | news_content | etccomment-> c_id | c_news_id | poster_idposter > poster_id | etc...so you will haveposter_id+---<news_id but since i made a crossing table all the data will base in the comment table and redundancy will be avoid
-
i guess you need to explain it better its hard to guess and waste non sense answers
-
or something like$files1 = scandir($dir);echo count($files1);
-
<?phpforeach (glob("*.txt") as $filename) { $CTR++;}?>