Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~477 People Reached
Favorite Forums
Favorite Tags
php x 4
api x 1
xml x 1

3 Posted Topics

Member Avatar for samarudge

Both of those seem to have accuracy problems... why not count the comments when the page is loaded? I assume the comments are their own table in the database? [CODE]$query = "SELECT comment_id FROM comments WHERE article_id = '$article_id'"; $result = @mysqli_query($connection, $query); $num_comments = mysqli_num_rows($result);[/CODE]

Member Avatar for tchaves
0
111
Member Avatar for tchaves

Hi everyone, Daniweb has helped me a lot in the past and for once I haven't found the solution in a previous thread. Here is my issue. I simply cannot figure out what to do to send/receive XML using PHP SOAP functions. It sounds simple enough, but I have been …

Member Avatar for pritaeas
0
144
Member Avatar for phpp

Does this help? [CODE]$text = 'qinetiq, sarah, sarah, qinetiq, stacey, qinetiq, sarah, stacey stacey, qinetiq, sarah, stacey, stacey, qinetiq, sarah, qinetiq'; $num_qinetiq = substr_count($text, 'qinetiq'); $num_sarah = substr_count($text, 'sarah'); $num_stacey = substr_count($text, 'stacey'); echo "Count for qinetiq: $num_qinetiq <br />"; echo "Count for Sarah: $num_sarah <br />"; echo "Count for …

Member Avatar for tchaves
0
222

The End.