User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 391,677 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,162 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 33 of 33
Search took 0.01 seconds.
Posts Made By: tirivamwe
Forum: PHP 26 Days Ago
Replies: 3
Views: 205
Posted By tirivamwe
PHP Frameworks

Hie everyone.

Its been a year now using PHP and i think i do understand it now but dont understand what a PHP framework is and what it is used for, how it works, and if its necessary to use...
Forum: PHP Feb 23rd, 2008
Replies: 2
Views: 199
Posted By tirivamwe
Re: Hot to delete

try modify this code to suit what you want



$name= "record to delete"


$sql = "DELETE FROM Users WHERE Name= '$name'"or die ("ERROR: Cannot not find user!");
Forum: PHP Feb 23rd, 2008
Replies: 1
Views: 206
Posted By tirivamwe
Re: switching between forms

try to use page redirection to the required page after user validation

You can try this code





if ($user="admin")
{
Forum: PHP Feb 20th, 2008
Replies: 19
Views: 665
Posted By tirivamwe
Re: problem in setting session

can u give us the code that u have so that we can see where u are getting it wrong
Forum: PHP Jan 31st, 2008
Replies: 4
Views: 473
Posted By tirivamwe
Re: Set cookies at start of the website

try this javascript function which will be called with php code

add this code in your inside the head tag but below the title tag



<script type="text/JavaScript">
<!--
function...
Forum: PHP Jan 29th, 2008
Replies: 5
Views: 333
Posted By tirivamwe
Please help on links

i have a website and it have a flash banner. the problem is that every time i open a link the banner will have to reload again.

is there any way that i can use on my links so that when the link is...
Forum: PHP Jan 28th, 2008
Replies: 9
Views: 558
Posted By tirivamwe
Solution Re: echo data

to concatenate in php you use a period/full stop

change this line
echo "<p>",$lname, ", ",$fname, ", ",$dob;

to
echo "<p>".$lname. ", ". $fname. ", ".$dob. ",".$reg_num;
Forum: PHP Dec 20th, 2007
Replies: 3
Views: 496
Posted By tirivamwe
Re: Retriving value through url

You can also try this one.

for example on page1.php you can have a link that when clicked will pass variables to page2,php

page1.php


<?php
echo "<a href='page2.php?var1=1&var2=2&var3=3>"."link...
Forum: PHP Dec 19th, 2007
Replies: 9
Views: 626
Posted By tirivamwe
Question Re: dynamic dropdown

can you please be specific.

Do you want to put content from database into drop down or from a table. If from a table where is the content coming from
Forum: PHP Dec 19th, 2007
Replies: 9
Views: 626
Posted By tirivamwe
Solution Re: dynamic dropdown

try this code it works for me



<?php
$host="localhost"; // Host name
$username="root"; // Mysql username
$password=""; // Mysql password
$db_name="forum"; // Database name
$tbl_name="test_mysql";...
Forum: PHP Oct 5th, 2007
Replies: 1
Views: 434
Posted By tirivamwe
Help problem with counter

i have this code which is supposed to increment a counter on page



<?php


//create a file called counter.txt and upload it to your server
//now open the file
$fp = fopen("counter.txt" , "r");
Forum: PHP Sep 29th, 2007
Replies: 2
Views: 1,505
Posted By tirivamwe
Solution Re: HTML To Excel

use the following code:

i have just included the first row and hope you will not have problems with the rest:



<?php


echo "<table cellspacing='4' cellpadding='4' border=1 align=center>";
Forum: PHP Sep 14th, 2007
Replies: 3
Views: 2,322
Posted By tirivamwe
Re: how to capture data from variable after redirect to another page

there is this code

$var1='done'
header("Location: index.php?$var1");


and now want to pass the value in the variable $var1 and store it in another variable in index page
Forum: Web Developers' Lounge Sep 14th, 2007
Replies: 0
Views: 517
Posted By tirivamwe
Help Mobile e-mail service

How do you provide email service on mobile phones.I want a system that sends email from cell to cell and also from computer to cell and cell to computer without limiting the file size.What...
Forum: PHP Sep 13th, 2007
Replies: 1
Views: 826
Posted By tirivamwe
Help How to export data from mysql into fields in excell

i have this code:
[CODE]
include('DB_connection.php');
$result = mysql_query('select * from login');
$count = mysql_num_fields($result);

for ($i = 0; $i < $count; $i++){
$header .=...
Forum: PHP Sep 12th, 2007
Replies: 3
Views: 2,322
Posted By tirivamwe
how to capture data from variable after redirect to another page

code in login page is:

header("Location: index.php?$page");

how do i get the data from the variable in index page after redirect from login page
Forum: PHP Sep 11th, 2007
Replies: 3
Views: 387
Posted By tirivamwe
Re: Search engine to search urls in one country

i mean the TLD (top level domain) with '.zw'.

want to put a serch engine on my site that will find all TLD ending with 'zw'
Forum: ASP Sep 11th, 2007
Replies: 1
Views: 3,945
Posted By tirivamwe
Help How to run asp files on linux server using apache

i have a problem when i am running asp files on linux server running apache. The pages wont open or process the data
Forum: PHP Sep 10th, 2007
Replies: 3
Views: 387
Posted By tirivamwe
Help Search engine to search urls in one country

Is there a free script that i can use to search any website that is in my own country.
Forum: C Oct 24th, 2006
Replies: 8
Views: 1,294
Posted By tirivamwe
Re: help me on linked list

here is the whole program:
line in bold when debugged is giving the value of currunt->words as Could not watch this variable


#include <iostream.h>
#include <stdlib.h>
#include <stdio.h>
#include...
Forum: C Oct 24th, 2006
Replies: 8
Views: 1,294
Posted By tirivamwe
Re: help me on linked list

temp has value of : "is"

check->value has avue of: Could not watch this variable
Forum: C Oct 24th, 2006
Replies: 8
Views: 1,294
Posted By tirivamwe
Re: help me on linked list

i tried that but when debugging i am having this error

An Access violation(segment fault) raised in your program.

the line of code crushinhg the program is:
Forum: C Oct 24th, 2006
Replies: 8
Views: 1,294
Posted By tirivamwe
Help help me on linked list

the function first search a word from the linked list. if found it then increment the numWords (number of words in listfor that word) and if not found it shoud create a new node for the word.

the...
Forum: C Oct 23rd, 2006
Replies: 8
Views: 1,197
Posted By tirivamwe
Solution Re: how to compare stings in linked list

i finally got it right my mistake was here:

int getCount(char word)

it should be:

int getCount(char word[30])
Forum: C Oct 23rd, 2006
Replies: 8
Views: 1,197
Posted By tirivamwe
Help Re: how to compare stings in linked list

herer is the code of the list:

struct doc_words
{
char words[30];
struct doc_words *next;
};

and the code of the function:
Forum: C Oct 23rd, 2006
Replies: 8
Views: 1,197
Posted By tirivamwe
Help how to compare stings in linked list

i have this line of code and want to compare the word from the linked list with the one supplied by user.

the code is:
if (strcmp(p->word,word)==0)

and i am having this error:

passing `char' to...
Forum: C Oct 22nd, 2006
Replies: 4
Views: 1,079
Posted By tirivamwe
Re: need help on linked list

thank you so much, it is now saving in the list.
Forum: C Oct 22nd, 2006
Replies: 4
Views: 1,079
Posted By tirivamwe
Re: need help on linked list

here is code


#include <iostream.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include <string.h>
Forum: C Oct 22nd, 2006
Replies: 4
Views: 1,079
Posted By tirivamwe
need help on linked list

can someone please help me to write a code in c to do the following:
1)read words from a file
2)store the words in a linked list
3)read the words and display
4)count the number of words in list
Forum: Community Introductions Nov 7th, 2005
Replies: 3
Views: 1,005
Posted By tirivamwe
Re: Hello All!

my name is collins tirivamwe. i am from zimbabwe.

just want to welcome you.

hope to share
Forum: Community Introductions Nov 7th, 2005
Replies: 3
Views: 1,005
Posted By tirivamwe
Re: Hello All!

hie my name is collins tirivamwe. just want tio welcome you.
Forum: Community Introductions Nov 7th, 2005
Replies: 4
Views: 1,424
Posted By tirivamwe
Re: hello from Africa (zimbabwe)

hie

its so good that you do love cricket. actually i do play cricket and in the first team at universty where i am styding IT. i am an off spinner and i like the following players muralitharan...
Forum: Community Introductions Oct 31st, 2005
Replies: 4
Views: 1,424
Posted By tirivamwe
hello from Africa (zimbabwe)

my name is collins tirivamwe.i am a zimbabwean.iam currently a university student studying IT.i love programming very much.hope and promise to contribute and share what i know with you.
Showing results 1 to 33 of 33

 
All times are GMT -4. The time now is 2:18 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC