Jump to content

A little css/php/html issue with links


s32ialx

Recommended Posts

OK i am doing a amember project for a customer i can't disclose anything but basically i have a issue where i have a

else
{
        $error[] = _SIGNUP_INVALID_EMAIL_1.'<br />'.sprintf(_SIGNUP_INVALID_EMAIL_2,'<a href="member.php">','</a>','<br />','<a href="/user/password">','</a>');
}

 

which display's

An account with the same email already exists.
Please 
login
to your account and go to the My Account page.
There you will be able to upgrade your existing membership.
Forgot your Password

 

the issue is login for some reason has a line break before and after the link I've searched everywhere in the css and the html pages as well as the php page i tried everything i can think of as well as what my software developer friend suggested but i cant remove the line breaks it's cause-in it for all links to have line breaks before and after them. any help greatly appreciated please email with a solution or respond i am really busy so email preferred

 

p.s. the en.php file displayed this also

define('_SIGNUP_INVALID_EMAIL_1', 'An account with the same email already exists.');
define('_SIGNUP_INVALID_EMAIL_2', 'Please %slogin%s to your account and go to the My Account page.%s There you will be able to upgrade your existing membership.%sForgot your Password%s');

 

 

Link to comment
https://forums.phpfreaks.com/topic/178659-a-little-cssphphtml-issue-with-links/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.