Jump to content

Recommended Posts

I have just set up an IRC chat on my website. I want it to open in a new tab when members click on it. I have already tried putting target="_blank" in various places but I can't find how to get it to work.

 

Here is the code I have so far: 

 

<?php if($userStatus > 2){echo(" <a href='irc.php'>STD IRC</a>  | ");} ?>

 

I know I need to add target="_blank" but I'm not sure where. Anyone help?

Link to comment
https://forums.phpfreaks.com/topic/178335-solved-php-code-help/
Share on other sites

My friend and I sorted this problem.

 

$sql = mysql_query("delete from `x` where `Time` = 0");

 

This was all I needed to add. It that scans the Database before entries are entered and deletes all entries with a timestamp of 0000-00-00.

 

Moderator, please lock this topic now. It has been resolved.

Link to comment
https://forums.phpfreaks.com/topic/178335-solved-php-code-help/#findComment-940516
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.