Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~4K People Reached
About Me

IT university student

Interests
Reading computer magazines and books, watching movies which features computer geniuses or hackers,playing…
PC Specs
compaq presrio SRAP -ntel pentium processor 515: 2.93 GHz,i MB L2 ache,533MHZ FSB,90nm -memory :512MB…
Favorite Tags

24 Posted Topics

Member Avatar for njagi

use the following code: i have just included the first row and hope you will not have problems with the rest: [CODE] <?php echo "<table cellspacing='4' cellpadding='4' border=1 align=center>"; echo"<tr>"; echo"<td>Day</td>"; echo"<td>Time</td>"; echo"<td>Unit</td>"; echo"<td>Lecturer</td>"; echo"</tr>"; echo"</table>"; header("Content-type: application/octet-stream"); # replace excelfile.xls with whatever you want the filename to default to …

Member Avatar for ddellostritto
0
869
Member Avatar for tirivamwe

i am doing my final year at university and i am supposed to do a project dissertation. Can someone help me with a project topic. I would prefer a project that is inclined to php or web development

0
107
Member Avatar for tirivamwe

i joined a new organisation and was given a Total Control Enterprise Network Hub. which have the following : [U]NIC[/U] [LIST] [*]10/100 NMC NIC [*]Dual 10/100 PC Ethernet NIC [*]Dual 10/100 PC Ethernet NIC [*]Hiper DSP T1/E1 NIC [*]Hiper DSP T1/E1 NIC [/LIST] [U]NAC[/U] [LIST] [*]Hiper DSP Card [*]Hiper DSP …

0
82
Member Avatar for r_sathya

try this : [url]http://www.webmastergate.com/php/paginate-query-results.html[/url] hope its what you are looking for. I tried it and it works

Member Avatar for jack239
0
150
Member Avatar for tirivamwe

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 it. please help

Member Avatar for mexabet
0
104
Member Avatar for bihartourism

try modify this code to suit what you want [CODE] $name= "record to delete" $sql = "DELETE FROM Users WHERE Name= '$name'"or die ("ERROR: Cannot not find user!"); $result = mysql_query($sql) or die ("Error in query: $sql. ".mysql_error()); [/CODE]

Member Avatar for tirivamwe
0
109
Member Avatar for gopi kannan

try to use page redirection to the required page after user validation You can try this code [CODE] if ($user="admin") { header('Location: admin.php'); } else { header('Location: ordinary_user.php'); } [/CODE]

Member Avatar for tirivamwe
0
99
Member Avatar for carobee

can u give us the code that u have so that we can see where u are getting it wrong

Member Avatar for carobee
0
144
Member Avatar for tirivamwe

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 clicked it will include a page …

Member Avatar for carobee
0
142
Member Avatar for AbdullahKhatri

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 [CODE] <script type="text/JavaScript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script> [/CODE] and this code you will add it inside the body tag, but …

Member Avatar for tirivamwe
0
396
Member Avatar for rickarro

to concatenate in php you use a period/full stop change this line [CODE]echo "<p>",$lname, ", ",$fname, ", ",$dob;[/CODE] to [CODE]echo "<p>".$lname. ", ". $fname. ", ".$dob. ",".$reg_num;[/CODE]

Member Avatar for rickarro
0
214
Member Avatar for jyshr

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 [CODE] <?php echo "<a href='page2.php?var1=1&var2=2&var3=3>"."link </a>"; ?> [/CODE] page2.php on this page you will retrieve the values using $_GET [CODE] <?php $var1=$_GET["var1"]; $var2=$_GET["var2"]; $var3=$_GET["var3"]; echo "$var1"; …

Member Avatar for ryan_vietnow
0
84
Member Avatar for lydia21

try this code it works for me [CODE] <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="forum"; // Database name $tbl_name="test_mysql"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $sql="SELECT * FROM test_mysql"; $result=mysql_query($sql); …

Member Avatar for lydia21
0
137
Member Avatar for tirivamwe

i have this code which is supposed to increment a counter on page [CODE] <?php //create a file called counter.txt and upload it to your server //now open the file $fp = fopen("counter.txt" , "r"); //read in the current count $count = (int)fread($fp, 1024); //increment the count by 1 $count++; …

Member Avatar for somedude3488
0
100
Member Avatar for tirivamwe

i have this code: include('DB_connection.php'); $result = mysql_query('select * from login'); $count = mysql_num_fields($result); for ($i = 0; $i < $count; $i++){ $header .= mysql_field_name($result, $i)."\t"; } while($row = mysql_fetch_row($result)){ $line = ''; foreach($row as $value){ if(!isset($value) || $value == ""){ $value = "\t"; }else{ # important to escape any …

Member Avatar for JeniF
0
159
Member Avatar for tirivamwe

code in login page is: [CODE]header("Location: index.php?$page");[/CODE] how do i get the data from the variable in index page after redirect from login page

Member Avatar for Ezzaral
0
139
Member Avatar for tirivamwe

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 infrastructures and things need to be put in place.

0
55
Member Avatar for tirivamwe
Member Avatar for kaykays
0
74
Member Avatar for tirivamwe

i have a problem when i am running asp files on linux server running apache. The pages wont open or process the data

Member Avatar for hollystyles
0
110
Member Avatar for tirivamwe

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 code is: [CODE]void AddWords( char text[30]) { check=head; while (check!=NULL) { if …

Member Avatar for Nick Evan
0
130
Member Avatar for tirivamwe

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: [CODE] if (strcmp(p->word,word)==0)[/CODE] and i am having this error: [COLOR="Red"]passing `char' to argument 2 of `strcmp(const char *, const char *)' lacks a cast[/COLOR]

Member Avatar for tirivamwe
0
586
Member Avatar for tirivamwe

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

Member Avatar for tirivamwe
0
128
Member Avatar for michaelbenson

hie my name is collins tirivamwe. just want tio welcome you.

Member Avatar for Lightninghawk
0
121
Member Avatar for tirivamwe

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.

Member Avatar for tirivamwe
0
135

The End.