Forum: PHP Aug 21st, 2009 |
| Replies: 0 Views: 161 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 |
Forum: PHP Nov 7th, 2008 |
| Replies: 4 Views: 512 try this :
http://www.webmastergate.com/php/paginate-query-results.html
hope its what you are looking for. I tried it and it works |
Forum: PHP Jul 25th, 2008 |
| Replies: 3 Views: 562 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.
... |
Forum: PHP Feb 23rd, 2008 |
| Replies: 2 Views: 507 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: 498 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: 1,445 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: 915 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: 610 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: 1,810 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: 791 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... |
Forum: PHP Dec 19th, 2007 |
| Replies: 9 Views: 1,023 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: 1,023 try this code it works for me
<?php
$host="localhost"; // Host name
$username="root"; // Mysql username
$password=""; // Mysql password
$db_name="forum"; // Database name... |
Forum: PHP Oct 5th, 2007 |
| Replies: 1 Views: 701 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 =... |
Forum: PHP Sep 29th, 2007 |
| Replies: 4 Views: 6,649 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... |
Forum: PHP Sep 14th, 2007 |
| Replies: 3 Views: 5,522 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: PHP Sep 13th, 2007 |
| Replies: 1 Views: 1,698 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: 5,522 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: 739 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: PHP Sep 10th, 2007 |
| Replies: 3 Views: 739 Is there a free script that i can use to search any website that is in my own country. |