![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Meet With Singles
meetwithsingles.com
![]()

![]()
![]()
<?echo $nume_users?>*
<?echo $password_text?>*
<?echo $password_text?>*
<?echo $email_text?>*
<?echo $email_text?>*
<?echo $sex_text?>
<?
for ($i=0;$i<?echo $sex_array[$i]?>
<?
}
else
{
?>
<?echo $sex_array[$i]?>
<?
}
}
?>
<?echo $sexuality_text?>
<?
for ($i=0;$i<?echo $sexuality_array[$i]?>
<?
}
else
{
?>
<?echo $sexuality_array[$i]?>
<?
}
}
?>
<?echo $personal_ad_text?>
<?echo $location_text?>
<?echo $country_text?>
<?
for ($i=0;$i<?echo $country_array[$i]?>
<?
}
else
{
?>
<?echo $country_array[$i]?>
<?
}
}
?>
<?echo $age_text?>*
<?
for ($i=0;$i<?echo $age_array[$i]?>
<?
}
else
{
?>
<?echo $age_array[$i]?>
<?
}
}
?>
<?echo $birth_date_text?>
<?
for ($i=0;$i<?echo $zile_array[$i]?>
<?
}
else
{
?>
<?echo $zile_array[$i]?>
<?
}
}
?>
<?
for ($i=0;$i<?echo $luna_array[$i]?>
<?
}
else
{
?>
<?echo $luna_array[$i]?>
<?
}
}
?>
<?
for ($i=0;$i<?echo $anul_array[$i]?>
<?
}
else
{
?>
<?echo $anul_array[$i]?>
<?
}
}
?>
<?echo $zodia_text?>
<?
for ($i=0;$i<?echo $zodia_array[$i]?>
<?
}
else
{
?>
<?echo $zodia_array[$i]?>
<?
}
}
?>
<?echo $marital_status_text?>
<?
for ($i=0;$i<?echo $marital_status_array[$i]?>
<?
}
else
{
?>
<?echo $marital_status_array[$i]?>
<?
}
}
?>
<?echo $icq_text?>
<?echo $msn_text?>l
<?echo $web_text?>
<?echo $eyes_colour_text?>
<?
for ($i=0;$i<?echo $eyes_colour_array[$i]?>
<?
}
else
{
?>
<?echo $eyes_colour_array[$i]?>
<?
}
}
?>
<?echo $hair_colour_text?>
<?
for ($i=0;$i<?echo $hair_colour_array[$i]?>
<?
}
else
{
?>
<?echo $hair_colour_array[$i]?>
<?
}
}
?>
<?echo $weight_text?>
<?
for ($i=0;$i<?echo $weight_array[$i]?>
<?
}
else
{
?>
<?echo $weight_array[$i]?>
<?
}
}
?>
<?echo $height_text?>
<?
for ($i=0;$i<?echo $height_array[$i]?>
<?
}
else
{
?>
<?echo $height_array[$i]?>
<?
}
}
?>
<?echo $music_text?>
<?
for ($i=0;$i<?echo $music_array[$i]?>
<?
}
else
{
?>
<?echo $music_array[$i]?>
<?
}
}
?>
<?echo $partner_text?>
<?echo $question_text?>
<?=$terms_text?>
* See Terms Here
<?=$newsletter_text?>
-
Try pasting line 93 with ten lines of code before and after. Don't paste the entire thing, it's too time consuming to scan through. It seems there's an error involving a semicolon, but you'll have to post the code, just like I said.
Also, use the PHP tags for this forum. It'll make it clearer.
Here is shortened version:
}
function user_check($nume)
{
if (gaseste_user_by_nick($nume)==0)
{
return TRUE;
echo "same user";
}
else
{
return FALSE;
}
}
function terms_check($terms)
{
if (isset($terms)&&$terms==1) --------> line 93
{
return TRUE;
}
else
{
return FALSE;
echo "termeni";
}
}
if (isset($Submit))
{
if (password_check($password,$password1) && nume_check($username) &&email_check($email,$email1) && user_check($username)&& terms_check($terms))
{
if (empty($personal_ad))
{
$personal_ad="";
}
if (empty($location))
{
$location="";
}
if (empty($age))
{
$age=0;
}
thanks again!
jcates23,
I know what your bug is. You are using the HTML entity for ampersand instead of "&", the correct notation :sad: . PHP does not convert HTML entities to ordinal characters before parsing. Your line 93 should read:
[PHP]
if (isset($terms) && $terms == 1)
[/PHP]
Note: I usually separate terms with parenthesis before boolean math:
[PHP]
if ((isset($terms)) && ($terms == 1))
[/PHP]
You'll notice that you've used the & HTML entity in several places. If you don't change them all, another parse error will occur later on.l