Forum: PHP 26 Days Ago |
| Replies: 3 Views: 205 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 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 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 |
Forum: PHP Jan 31st, 2008 |
| Replies: 4 Views: 473 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 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 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 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 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 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 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 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 |
Forum: Web Developers' Lounge Sep 14th, 2007 |
| Replies: 0 Views: 517 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 |
Forum: PHP Sep 12th, 2007 |
| Replies: 3 Views: 2,322 |
Forum: PHP Sep 11th, 2007 |
| Replies: 3 Views: 387 |
Forum: ASP Sep 11th, 2007 |
| Replies: 1 Views: 3,945 |
Forum: PHP Sep 10th, 2007 |
| Replies: 3 Views: 387 |
Forum: C Oct 24th, 2006 |
| Replies: 8 Views: 1,294 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 |
Forum: C Oct 24th, 2006 |
| Replies: 8 Views: 1,294 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 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 |
Forum: C Oct 23rd, 2006 |
| Replies: 8 Views: 1,197 |
Forum: C Oct 23rd, 2006 |
| Replies: 8 Views: 1,197 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 |
Forum: C Oct 22nd, 2006 |
| Replies: 4 Views: 1,079 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 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 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 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 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 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. |