PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 1st, 2002, 03:09 AM
olamide olamide is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Plymouth,IN ,USA
Posts: 19 olamide User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to olamide Send a message via Yahoo to olamide
;* and marquee in PHP


I am new to PHP, I use the HTML format bellow within my PHP but am getting error, any help?

<php .....?>
<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<marquee width="323" height="19" bgcolor="#009900" style="font-weight: bold">NIGERIANGREENPAGE&nbsp;DIRECTORY SEARCH RESULT</marquee></p>
<table border="1" width="35%">
<tr>
<php...?>

Reply With Quote
  #2  
Old August 1st, 2002, 03:12 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: ; and marquee in PHP

Is that the actual code?

What error do you get?

Reply With Quote
  #3  
Old August 1st, 2002, 03:17 AM
olamide olamide is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Plymouth,IN ,USA
Posts: 19 olamide User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to olamide Send a message via Yahoo to olamide
RE: ;Â* and marquee in PHP

I actually posted my whole code earlier. I am stuck here now, I keep getting unexpected T_variable on line 45

Reply With Quote
  #4  
Old August 1st, 2002, 05:57 AM
D1NGO D1NGO is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Perth, Australia
Posts: 221 D1NGO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: ;Â* and marquee in PHP

well, can you post your whole code, it will be much easier to find out whats wrong.

Reply With Quote
  #5  
Old August 1st, 2002, 10:48 AM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to EvilivE
RE: ; and marquee in PHP

I am not absolutely positive about this but if I recall correctly ... html outside of php tags are not counted as "lines".

I noticed in your code you are missing ;'s where all of your <td>'s are. You have <td><?php echo $myrow['foo']?></td> and it should be <td><?php echo $myrow['foo'];?></td>.

You might want to go and clean those up, along with the suggestions that Matt gave you then repost your code with the error msg.

Reply With Quote
  #6  
Old August 1st, 2002, 11:49 PM
olamide olamide is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Plymouth,IN ,USA
Posts: 19 olamide User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to olamide Send a message via Yahoo to olamide
RE: ;Â* and marquee in PHP

here is the whole code:

<?php
$Request=$_REQUEST['form'];
$UserName = $_REQUEST['username'];
$FirstName= $_REQUEST['firstname'];
$middlename = $_REQUEST['middlename'];
$lastname = $_REQUEST['lastname'];
$password=$_REQUEST['password'];
$yourtitle = $_REQUEST['yourtitle'];
$streetaddress = $_REQUEST['streetaddress'];
$streetaddresscontinue = $_REQUEST['streetaddresscontinue'];
$city = $_REQUEST['city'];
$state = $_REQUEST['state'];
$zipcode = $_REQUEST['zipcode'];
$country = $_REQUEST['country'];
$homephone = $_REQUEST['homephone'];
$workphone = $_REQUEST['workphone'];
$fax = $_REQUEST['fax'];
$email = $_REQUEST['email'];
$organisation = $_REQUEST['organisation'];
$maritalstatus = $_REQUEST['maritalstatus'];
$occupation = $_REQUEST['occupation'];
$religion = $_REQUEST['religion'];
$others = $_REQUEST["others"];


$db =mysql_connect ("localhost", "bizhive_database", "pass") or die ('Having problem connecting to the database.');

mysql_select_db ("bizhive_nigeriangreenpage");

switch ($request) {

Case 'search':

mySQLquery("SELECT * From database where username='$username' or firstname='$firstname' or Middlename='$middlename' or lastname='$lastname' or yourtitle='$yourtitle' or streetname=='$streetname' or streenamecontinue='$streetnamecomntinue' or zipcode='$zipcode' or country='$country' or homephone='$homephone' or workphone='$workphone' or fax='$fax' or maritalstatus='$maritalstatus' or occupation='$occupation' or religion='$religion' or homepage='$homephage' or others='$others', $db);
$i = 1;
?>

<html>
<head>
<title>Search Result</title>
</head>

<body bgcolor="#009900" text="#FFFFFF">

<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<marquee width="323" height="19" bgcolor="#009900" style="font-weight: bold">NIGERIANGREENPAGE&nbsp;DIRECTORY SEARCH RESULT</marquee></p>
<table border="1" width="35%">
<tr>
<?PHP

while ($myrow = mySQL_fetch_array($result))
{
?>

<td width="100%">SEAECH NUMBER"<?Php echo 'i'?></td>
</tr>
</table>
<table border="1" width="100%">
<tr>
<td width="35%">USER NAME:&nbsp;&nbsp;&nbsp;&nbsp; </td>
<td width="65%">&nbsp;"<?Php echo $myrow['username']?>"</td>
</tr>
<tr>
<td width="35%">FIRST NAME</td>
<td width="65%">"<?Php echo $myrow['firstname']?></td>
</tr>
<tr>
<td width="35%">MIDDLE NAME:</td>
<td width="65%">"<?Php echo $myrow['middlename']?></td>
</tr>
<tr>
<td width="35%">LAST NAME:</td>
<td width="65%">"<?Php echo $myrow['lastname']?></td>
</tr>
<tr>
<td width="35%">TITLE:</td>
<td width="65%">"<?Php echo $myrow['yourtitle']?></td>
</tr>
<tr>
<td width="35%">STREET ADDRESS:</td>
<td width="65%">"<?Php echo $myrow['streetaddress']?></td>
</tr>
<tr>
<td width="35%">STREET ADDRESS CONTINUE:</td>
<td width="65%">"<?Php echo $myrow['streetaddresscontinue']?></td>
</tr>
<tr>
<td width="35%">CITY:</td>
<td width="65%">"<?Php echo $myrow['city']?></td>
</tr>
<tr>
<td width="35%">STATE:</td>
<td width="65%">"<?Php echo $myrow['state']?></td>
</tr>
<tr>
<td width="35%">ZIP CODE:</td>
<td width="65%">"<?Php echo $myrow['zipcode']?></td>
</tr>
<tr>
<td width="35%">COUNTRY:</td>
<td width="65%">"<?Php echo $myrow['country']?></td>
</tr>
<tr>
<td width="35%">HOME PHONE:</td>
<td width="65%">"<?Php echo $myrow['homephone']?></td>
</tr>
<tr>
<td width="35%">WORK PHONE:</td>
<td width="65%">"<?Php echo $myrow['workphone']?></td>
</tr>
<tr>
<td width="35%">FAX:</td>
<td width="65%">"<?Php echo $myrow['fax']?>?</td>
</tr>
<tr>
<td width="35%">E-MAIL:</td>
<td width="65%">"<?Php echo $myrow['email']?></td>
</tr>
<tr>
<td width="35%">ORGANISATION:</td>
<td width="65%">"<?Php echo $myrow['organisation']?></td>
</tr>
<tr>
<td width="35%">MARITAL STATUS:</td>
<td width="65%">"<?Php echo $myrow['maritalstatus']?></td>
</tr>
<tr>
<td width="35%">OCCUPATION:</td>
<td width="65%">"<?Php echo $myrow['occupation']?></td>
</tr>
<tr>
<td width="35%">RELIGION:</td>
<td width="65%">"<?Php echo $myrow['religion']?></td>
</tr>
<tr>
<td width="35%">HOME PAGE:</td>
<td width="65%">"<?Php echo $myrow['homepage']?></td>
</tr>
<tr>
<td width="35%">OTHERS:</td>
<td width="65%">"<?Php echo $myrow['others']?></td>
</tr>
<tr>
<td width="35%">RECORD NUMBER:</td>
<td width="65%">"<?Php echo $myrow['userid']?></td>
</tr>
</table>

</body>

</html>
<?php
i= i + 1;
}
break;


case 'register' :


$sql = "INSERT INTO database (username,firstName,middlename,lastname,yourtitle, streetaddress,streetaddresscontinue,city,state,zip code,country,homephone,workphone,fax,email,organis ation,maritalstatus,occupation,religion,homepage,o thers) VALUES ('$firstname','$middlename','lastname','$yourtitle ','$streetaddress','$streetaddresscontinue','$city ,'$state,'$zipcode','$country,'$homephone','$workp hone,'$fax','$email','$organisation','$maritalstat us','$occupation','$religion','$homepage','$others ')";

$sqlresult = mysql_query($sql);
$myrow = mySQL_fetch_array($sqlresult);



?>

<html>

<head>
<title>DIRECTORY REGISTRATION</title>
</head>

<body bgcolor="#009900" text="#FFFFFF">

<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
<marquee width="323" height="19" bgcolor="#009900" style="font-weight: bold">NIGERIANGREENPAGE&nbsp;
DIRECTORY REGISTRATION</marquee>
</p>
<p align="left"><font size="4">You registered with the information bellow:</font>
</p>
<table border="1" width="100%">
<tr>
<td width="35%">USER NAME:&nbsp;&nbsp;&nbsp;&nbsp; </td>
<td width="65%">&nbsp;"<?Php echo $myrow['username']?>"</td>
</tr>
<tr>
<td width="35%">FIRST NAME</td>
<td width="65%">"<?Php echo '$firstname'?></td>
</tr>
<tr>
<td width="35%">MIDDLE NAME:</td>
<td width="65%">"<?Php echo '$middlename'?></td>
</tr>
<tr>
<td width="35%">LAST NAME:</td>
<td width="65%">"<?Php echo '$lastname'?></td>
</tr>
<tr>
<td width="35%">TITLE:</td>
<td width="65%">"<?Php echo '$yourtitle'?></td>
</tr>
<tr>
<td width="35%">STREET ADDRESS:</td>
<td width="65%">"<?Php echo '$streetaddress'?></td>
</tr>
<tr>
<td width="35%">STREET ADDRESS CONTINUE:</td>
<td width="65%">"<?Php echo '$streetaddresscontinue'?></td>
</tr>
<tr>
<td width="35%">CITY:</td>
<td width="65%">"<?Php echo '$city'?></td>
</tr>
<tr>
<td width="35%">STATE:</td>
<td width="65%">"<?Php echo '$state'?></td>
</tr>
<tr>
<td width="35%">ZIP CODE:</td>
<td width="65%">"<?Php echo '$zipcode'?></td>
</tr>
<tr>
<td width="35%">COUNTRY:</td>
<td width="65%">"<?Php echo '$country'?></td>
</tr>
<tr>
<td width="35%">HOME PHONE:</td>
<td width="65%">"<?Php echo '$homephone'?></td>
</tr>
<tr>
<td width="35%">WORK PHONE:</td>
<td width="65%">"<?Php echo '$workphone'?></td>
</tr>
<tr>
<td width="35%">FAX:</td>
<td width="65%">"<?Php echo '$fax'?</td>
</tr>
<tr>
<td width="35%">E-MAIL:</td>
<td width="65%">"<?Php echo '$email'?></td>
</tr>
<tr>
<td width="35%">ORGANISATION:</td>
<td width="65%">"<?Php echo '$organisation'?></td>
</tr>
<tr>
<td width="35%">MARITAL STATUS:</td>
<td width="65%">"<?Php echo '$maritalstatus'?></td>
</tr>
<tr>
<td width="35%">OCCUPATION:</td>
<td width="65%">"<?Php echo '$occupation'?></td>
</tr>
<tr>
<td width="35%">RELIGION:</td>
<td width="65%">"<?Php echo '$religion'?></td>
</tr>
<tr>
<td width="35%">HOME PAGE:</td>
<td width="65%">"<?Php echo '$homepage'?></td>
</tr>
<tr>
<td width="35%">OTHERS:</td>
<td width="65%">"<?Php echo '$others'?></td>
</tr>
<tr>
<td width="35%">RECORD NUMBER:</td>
<td width="65%">"<?Php echo $myrow['userid']?></td>
</tr>
</table>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.nigeriangreenpage.com">&nbsp; HOME</a></p>

</body>

</html>

<?php

break;

case 'listing' :

$sql = mysql_query(nigeriandatabase,$db);
?>

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>DIRECTORY LISTING</title>
</head>

<body bgcolor="#009900" text="#FFFFFF">

<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
<marquee width="323" height="19" bgcolor="#009900" style="font-weight: bold">NIGERIANGREENPAGE&nbsp;
DIRECTORY LISTING</marquee>
</p>
<p align="left"><font size="4">ALL DATABASE LISTED BELLOW:</font>
</p>
<table border="1" width="100%">
<tr>


<?PHP
while($myrow = mySQL_fetch_array($sql) {

?>
<td width="35%">USER NAME:&nbsp;&nbsp;&nbsp;&nbsp; </td>
<td width="65%">&nbsp;"<?Php echo $myrow['username']?>"</td>
</tr>
<tr>
<td width="35%">FIRST NAME</td>
<td width="65%">"<?Php echo $myrow['firstname']?></td>
</tr>
<tr>
<td width="35%">MIDDLE NAME:</td>
<td width="65%">"<?Php echo $myrow['middlename']?></td>
</tr>
<tr>
<td width="35%">LAST NAME:</td>
<td width="65%">"<?Php echo $myrow['lastname']?></td>
</tr>
<tr>
<td width="35%">TITLE:</td>
<td width="65%">"<?Php echo $myrow['title']?></td>
</tr>
<tr>
<td width="35%">STREET ADDRESS:</td>
<td width="65%">"<?Php echo $myrow['streetaddress']?></td>
</tr>
<tr>
<td width="35%">STREET ADDRESS CONTINUE:</td>
<td width="65%">"<?Php echo $myrow['streetaddresscontinue']?></td>
</tr>
<tr>
<td width="35%">CITY:</td>
<td width="65%">"<?Php echo $myrow['city']?></td>
</tr>
<tr>
<td width="35%">STATE:</td>
<td width="65%">"<?Php echo $myrow['state']?></td>
</tr>
<tr>
<td width="35%">ZIP CODE:</td>
<td width="65%">"<?Php echo $myrow['zipcode']?></td>
</tr>
<tr>
<td width="35%">COUNTRY:</td>
<td width="65%">"<?Php echo $myrow['country']?></td>
</tr>
<tr>
<td width="35%">HOME PHONE:</td>
<td width="65%">"<?Php echo $myrow['homephone']?></td>
</tr>
<tr>
<td width="35%">WORK PHONE:</td>
<td width="65%">"<?Php echo $myrow['workphone']?></td>
</tr>
<tr>
<td width="35%">FAX:</td>
<td width="65%">"<?Php echo $myrow['fax']?>?</td>
</tr>
<tr>
<td width="35%">E-MAIL:</td>
<td width="65%">"<?Php echo $myrow['email']?></td>
</tr>
<tr>
<td width="35%">ORGANISATION:</td>
<td width="65%">"<?Php echo $myrow['organisation']?></td>
</tr>
<tr>
<td width="35%">MARITAL STATUS:</td>
<td width="65%">"<?Php echo $myrow['maritalstatus']?></td>
</tr>
<tr>
<td width="35%">OCCUPATION:</td>
<td width="65%">"<?Php echo $myrow['occupation']?></td>
</tr>
<tr>
<td width="35%">RELIGION:</td>
<td width="65%">"<?Php echo $myrow['religion']?></td>
</tr>
<tr>
<td width="35%">HOME PAGE:</td>
<td width="65%">"<?Php echo $myrow['homepage']?></td>
</tr>
<tr>
<td width="35%">OTHERS:</td>
<td width="65%">"<?Php echo $myrow['others']?></td>
</tr>
<tr>
<td width="35%">RECORD NUMBER:</td>
<td width="65%">"<?Php echo $myrow['userid']?></td>
</tr>
</table>

<?php
}
?>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.nigeriangreenpage.com">&nbsp; HOME</a></p>

</body>

</html>

<?PHP
break;

case 'Delete' :

"UPDATE database SET username''',firstname=''middlename='',lastName='', yourtitle='',streetaddress='',streetaddresscontinu e='',city='',state='',zipcode='',country='',Homeph one='',workphone='',fax='',Email='',organisation=' ',maritalstatus='',occupation='',religion='',homep age='',others='' WHERE username='$username'&&password='$password'" or echo 'No such record to delete, check your user name and password';

mySQLquery("SELECT * From database where username==$username&&password==$password) or die ("No record found delete succesful in nigeriangreenpage database!");

break;


case 'update' :


UPDATE database SET username''',firstname='$firstname'middlename='$mid dlename',lastName='$lastname',yourtitle='$yourtitl e',streetaddress='$streetaddress',streetaddresscon tinue='$streetaddresscontinue',city='$city',state= '$state',zipcode='$zipcode',country='$country',Hom ephone='$homephone',workphone='$workphone',fax='$f ax',Email='$email',organisation='$organisation',ma ritalstatus='$maritalstatus',occupation='occupatio n',religion='religion',homepage='homepage',others= 'others' WHERE username='$username'&&password='$password' or echo 'No such record to update, check your user name and password';

$sql= mySQLquery("SELECT * From database where username==$username&&password==$password) or die ("No record found update unsuccesful in nigeriangreenpage database!");

$myrow = mySQL_fetch_array($sql)
?>


<html>
<head>
<title>Database Update Result</title>
</head>

<body bgcolor="#009900" text="#FFFFFF">

<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
<marquee width="323" height="19" bgcolor="#009900" style="font-weight: bold">NIGERIANGREENPAGE&nbsp;
DIRECTORY UPDATE RESULT</marquee>
</p>
<table border="1" width="35%">
<tr>
<td width="100%">NUMBER OF UPDATE 1"?></td>
</tr>
</table>
<table border="1" width="100%">
<tr>
<td width="35%">USER NAME:&nbsp;&nbsp;&nbsp;&nbsp; </td>
<td width="65%">&nbsp;"<?Php echo $myrow['username']?>"</td>
</tr>
<tr>
<td width="35%">FIRST NAME</td>
<td width="65%">"<?Php echo $myrow['firstname']?></td>
</tr>
<tr>
<td width="35%">MIDDLE NAME:</td>
<td width="65%">"<?Php echo $myrow['middlename']?></td>
</tr>
<tr>
<td width="35%">LAST NAME:</td>
<td width="65%">"<?Php echo $myrow['lastname']?></td>
</tr>
<tr>
<td width="35%">TITLE:</td>
<td width="65%">"<?Php echo $myrow['yourtitle']?></td>
</tr>
<tr>
<td width="35%">STREET ADDRESS:</td>
<td width="65%">"<?Php echo $myrow['streetaddress']?></td>
</tr>
<tr>
<td width="35%">STREET ADDRESS CONTINUE:</td>
<td width="65%">"<?Php echo $myrow['streetaddresscontinue']?></td>
</tr>
<tr>
<td width="35%">CITY:</td>
<td width="65%">"<?Php echo $myrow['city']?></td>
</tr>
<tr>
<td width="35%">STATE:</td>
<td width="65%">"<?Php echo $myrow['state']?></td>
</tr>
<tr>
<td width="35%">ZIP CODE:</td>
<td width="65%">"<?Php echo $myrow['zipcode']?></td>
</tr>
<tr>
<td width="35%">COUNTRY:</td>
<td width="65%">"<?Php echo $myrow['country']?></td>
</tr>
<tr>
<td width="35%">HOME PHONE:</td>
<td width="65%">"<?Php echo $myrow['homephone']?></td>
</tr>
<tr>
<td width="35%">WORK PHONE:</td>
<td width="65%">"<?Php echo $myrow['workphone']?></td>
</tr>
<tr>
<td width="35%">FAX:</td>
<td width="65%">"<?Php echo $myrow['fax']?>?</td>
</tr>
<tr>
<td width="35%">E-MAIL:</td>
<td width="65%">"<?Php echo $myrow['email']?></td>
</tr>
<tr>
<td width="35%">ORGANISATION:</td>
<td width="65%">"<?Php echo $myrow['organisation']?></td>
</tr>
<tr>
<td width="35%">MARITAL STATUS:</td>
<td width="65%">"<?Php echo $myrow['maritalstatus']?></td>
</tr>
<tr>
<td width="35%">OCCUPATION:</td>
<td width="65%">"<?Php echo $myrow['occupation']?></td>
</tr>
<tr>
<td width="35%">RELIGION:</td>
<td width="65%">"<?Php echo $myrow['religion']?></td>
</tr>
<tr>
<td width="35%">HOME PAGE:</td>
<td width="65%">"<?Php echo $myrow['homepage']?></td>
</tr>
<tr>
<td width="35%">OTHERS:</td>
<td width="65%">"<?Php echo $myrow['others']?></td>
</tr>
<tr>
<td width="35%">RECORD NUMBER:</td>
<td width="65%">"<?Php echo $myrow['userid']?></td>
</tr>
</table>

</body>

</html>


break;
default :

?>


<head>
<title>Nigeriangreenpage Register Edit Delete Search</title>
</head>

<body bgcolor="#009900" text="#FFFFFF">

<h1 align="center">NIGERIANGREENPAGE</h1>

<hr>
<p align="center">
<marquee style="text-decoration: blink; font-weight: bold; font-size: .5in" bgcolor="#009900" width="418" height="55">The
option botton is very important. The default is register. Thank you!</marquee>
</p>
<form name="Free Registration" onsubmit method="POST" action="formprocess.php3">
<p><b><font size="4"><u>Select what you want to do'</u></font></b></p>
<b><blink><font color="#FF0000" size="5">What do you want to do?</font></blink></b>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="form" value="search"><b><font color="#FF0000">Search</font>&nbsp;</b>&nbsp;&nbsp;
<input type="checkbox" name="form" value="register"> <font color="#FF0000"><b>Register</b></font>&nbsp;&nbsp;&nbsp;
<input type="checkbox" name="form" value="listing"><font color="#FF0000"><b>Listing</b></font>&nbsp;&nbsp;
<input type="checkbox" name="form" value="delete"><b><font color="#FF0000">Delete
<input type="checkbox" name="form" value="update">Update</font></b></p>
<blockquote>
<table>
<tbody>
<tr>
<td align="right"><em><b><font size="4">User Name:</font></b></em></td>
<td><input size="60" value="I beg wating be the user name" name="UserName"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">Password:</font></b></em></td>
<td><input size="60" value="password" name="Password" type="password"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">Password:</font></b></em></td>
<td><input size="60" value="password" name="Password1" type="password"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">First Name</font></b></em></td>
<td><input size="60" value="Wating be the First Name?" name="FirstName"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">Last Name</font></b></em></td>
<td><b><font size="4"><input size="60" value="Wating be Last Name?" name="LastName"></font></b></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">Middle Initial</font></b></em></td>
<td><input maxLength="1" size="60" value="Wating be Middle Name?" name="MiddleName"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">Title</font></b></em></td>
<td><input size="60" value="Wating be the Title? u be Chief, Bale,..." name="Title"></td>
</tr>
<tr>
<td align="right"><em><font size="4"><b>Street Address</b></font></em></td>
<td><input size="60" value="The street address?" name="StreetAddress"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">Address (cont.)</font></b></em></td>
<td><input size="60" value="Oga, the address dey long? continue... " name="StreetAddressContinue"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">City</font></b></em></td>
<td><input size="60" value="Which City be that?" name="City"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">State/Province</font></b></em></td>
<td><input size="60" value="I beg, the State o!" name="State"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">Zip/Postal Code</font></b></em></td>
<td><input maxLength="12" size="60" value="no be for naija. u get?" name="ZipCode"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">Country</font></b></em></td>
<td><input size="60" value="Which Country u dey?" name="Country"></td>
</tr>
<tr>
<td align="right"><i><b><font size="4">Home Phone</font></b></i></td>
<td><input maxLength="25" size="60" value="wating be the home fone?" name="HomePhone"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">Work Phone</font></b></em></td>
<td><input maxLength="25" size="60" value="Work fone dey?" name="WorkPhone"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">FAX</font></b></em></td>
<td><input maxLength="25" size="60" value="Fax dey?" name="Fax"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">E-mail</font></b></em></td>
<td><input size="60" value="e-mail na new thing o! u fit get one free @nigeriangreenpage.com" name="Email"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">Organisation</font></b></em></td>
<td><input size="60" value="Which Organisation ?" name="Organization"></td>
</tr>
<tr>
<td align="right"><b><font size="4"><i>Occupation</i>&nbsp;</font></b></td>
<td><input size="60" value="Oga, wating be una Job?" name="Occupation"></td>
</tr>
<tr>
<td align="right"><i><b><font size="4">Religion</font></b></i></td>
<td><input size="60" value="Oga Sir, Madam, which religion u dey?" name="Religion"></td>
</tr>
<tr>
<td align="right"><font size="3"><b>Marital Status</b></font></td>
<td><input size="60" value="married or single?" name="MaritalStatus"></td>
</tr>
<tr>
<td align="right"><em><b><font size="4">URL</font></b></em></td>
<td><input size="60" value="check nigeriangreenpagedotcom for urname.nigeriangreenpage.com" name="HomePage"></td>
</tr>
<tr>
<td align="right"><i><b><font size="4">Others</font></b></i></td>
<td><input maxLength="25" size="60" value="more tori?" name="Others"></td>
</tr>
</tbody>
</table>
</blockquote>
<p>
<input type="submit" value="Submit Form"> <input type="reset" value="Reset Form">
</p>
</form>
<hr>
<h5>Omo Yin<br>
Copyright © 2002[FastLinks]. All rights reserved.<br>
Revised: <!--webbot bot="TimeStamp" S-Type="EDITED" S-Format="%B %d, %Y" -->
</h5>

</body>

<?PHP

}
?>

























Reply With Quote
  #7  
Old August 2nd, 2002, 12:28 AM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: ;Â* and marquee in PHP

your syntax is wrong. the majority of your expressions don't end with a semicolon ";" and several variables aren't preceeded by a dollar sign "$" ..i can't help but wonder how the code got this long without reporting errors sooner? i'd suggest to paste the code into a wysiwyg editor and i'm sure the editor will highlight several of the errors for you.

Reply With Quote
  #8  
Old August 2nd, 2002, 03:01 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: ;Â* and marquee in PHP

am new to PHP, this is my first PHP. that is why I need you guys help.

Reply With Quote
  #9  
Old August 2nd, 2002, 03:02 AM
olamide olamide is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Plymouth,IN ,USA
Posts: 19 olamide User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to olamide Send a message via Yahoo to olamide
RE: ;Â* and marquee in PHP

am new to php. This is my first php.That is why I need your guys help

Reply With Quote
  #10  
Old August 2nd, 2002, 08:05 AM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to EvilivE
RE: ; and marquee in PHP

You still haven't added the ;'s that are required. You should probably read this _first_.

Good luck.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > ;  and marquee in PHP