Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Make It Link To Another Html Page


How to retrive feild from table and make it clickable and link to another html page.




View Complete Forum Thread with Replies

Related Forum Messages:
Page Redirection - Link Index.html Page To A .php Pag
I have an index.html page with a link to a .php page This is the complete code of the .php page Code:

View Replies !
<link:page.html,xxx> => <a Href="page.html?id=xxx">
I want to transform this code <link:page.html,xxx> to

<a href="page.html?id=xxx"> dynamically.

I tried out alot of preg_replace stuff, but I didn't get to manage it.

View Replies !
Need To Make A PHP Script Forward To An Html Page When Processed!
When a php script is processed, how can I then get the script to automatically forward to a confirmation page? The script in question is a mail script, and I need to get this to forward to an html page to basically say, 'mail is sent'.

View Replies !
Regalar Expression To Extract An Html Link From A Page
I have a regalar expression to extract an html link from a page:

href=(["']?)([^>1]*.html)1(?: [^>]*)?>

It looks after the "href" for an optional quote and then looks for something
that is not the quote or the endarrow.

The problematic part is [^>1]*. It should exclude anything with the quote,
but somehow that doesn't work. Maybe 1 is not allowed inside brackets?
I would like some advice on how to handle this.

View Replies !
Make Html Page And Store On Harddrive From Database For Pagination Technigue
i am creating a news site. i am adding new news in database and it must be visible to user at top. and then second latest news and so on.

i am displaying 15 news on each page and then put a link for next 15 news on page.

my site is accessed by millions of people everyday. so for each when he want to see news he click on news link and in my php program query is run in database. so my database access became very slow because if one million people clicks on news link, the database will be accessed and query will be run one million times. Code:

View Replies !
Html Page Link Prints Path 3 Times In Header
I have a website with html pages and a php page (a form). I just put in links on the html pages to the php page. When I click them I go to the php page and as bonus the path of the html page is printed at the top three times. (The text in the php page changes depending on which page I have hit the link from.) For example:

Quote: http://mysite.com/sitefolder/previouspage.htmlhttp://mysite.com/sitefolder/previouspage.htmlhttp://mysite.com/sitefolder/previouspage.htmlhttp

If I highlight and then delete this text in Navigator or Explore both browsers return me to the page written out three times at the top of the page. Here is the code that is giving me this result. Code:

View Replies !
How To Get My Upload File To Automaticaly Post A Link To A Html Web Page
Can some one direct me to a good tutorial that can teach me how to get my upload file to automaticaly post a link to a html web page on a web site.

View Replies !
A Web Development QUICK LINK PAGE (QLP) - HTML, Perl, PHP, JavaScript, AJAX, CGI, Etc.
I've recently organized and even color-coded many of my favorite
bookmarks on WEB DEVELOPMENT (and a few other favorite subjects too)
into what I call QUICK LINK PAGES. These are very condensed, compact
(no graphics), fast-loading pages with a 100+ links to some of my
favorite web sites on a particular subject. I hope you'll give them a
try...

Here's the link...

The easy-to-remember link above gets you to one of the Quick Link Pages
(QLP). The current categories (DIVERSIONS, INVESTING, JAZZ, MACINTOSH,
OPERA, PHYSICS (with ASTRONOMY and MATHEMATICS), SPORTS, WEB
DEVELOPMENT, and WINDOWS) are color-coded on the top of every page.
Just click your favorite category. I hope you'll find a lot to enjoy.
If you find any errors, or have suggestions for additional links or
categories,

View Replies !
How Do I Exit An Html Frameset As I Have A Link Which Has To Redirect Back To The Index Page?
I was just wondering in how do I exit an html frameset as I have a link which has to redirect back to the index page as shown below, which should not have the frames. header("location:index.php");

View Replies !
Using Preg_match_all To Locate HTML Anchor Link BUT Only If The Link Is A .pdf File
The subject line describes what I'm trying to do, (and after thinking about it for a day or so and trying different things; searching around for similar questions on the board,) but I still haven't found a proper regular expression.

I am trying to use preg_match_all to locate HTML Anchor link BUT only if the link is a .pdf file within text from a database table. It actually was working just fine until I recently made a change regarding new lines () and (<br />) in the text that is to be searched. But after making changes regarding the new lines and things, my previous regexp doesn't work correctly. Here is the regexp I am trying to use:

preg_match_all('/<a href="(.*)">(.*)</a>/U', $entry->Record['e_entry'], $res_output, PREG_PATTERN_ORDER);

That regexp does find each occurance of an <a href="">something here</a> link... but I need it to only find occurances of an anchor link if it is a PDF file link (ex: <a href="../something.pdf">something</a>). So I tried changing the regexp to something like this:

preg_match_all('/<a href="(.*).pdf">(.*)</a>/U', $entry->Record['e_entry'], $res_output, PREG_PATTERN_ORDER);

But in the preg_match_all results array ($res_output) a regular <a href="">something here</a> link is ALSO found as well as the .pdf links... I am trying to only find links that contain .pdf at the end of the file name. Sorry that this is written kind of strangely, if you need more info let me know. Does anyone know what I need to change in the regexp to ONLY find HTML anchor links that contain .pdf at the end of the HREF?

View Replies !
Make A Link,
I Want To Make A PHP Text Link, When You Press The Text Link, It Runs A MySql Query.

View Replies !
Make Link With A Phrase
I would like to have some help for this:

There is any phrase like "Some text, here, #*$!, yyy aaaa"

I need to separate the words and make links, like:
<a href='Some'>Some</a> <a href='text'>text</a> <a href='here'>here</a>

Someone know any topic that explain how to do that?

View Replies !
Make A Link Clickable
When people sign up, they have to fill in a form with their personal info. I have the possibility to create a "you homepage" line in the form, but the link is not clickable.
When I set the variable fields details, I have the posibility to "Display the Format".
I do not know exactly what that means. I'm Dutch :-)) Maybe you can put a string o.s. in here so that the link will be clickable.

View Replies !
Make A Link Using Array Content
I want array's content to become a link itself. like,,,,,

echo "<a href="$result[$rows][$cols]">".$result[$rows][$cols]."</a>";

this $result[$rows][$cols] in array has contents of email address.but it doesn't work. can anybody tell me how?

View Replies !
Need To Create And Make Download Link For Csv
i have an app that i need to be able to publish a link to download a
csv file.
i know that i can use php to make the file, but how to i link to it
through php.
like if i have an html file that has a link in it like this
<a href="somedata.csv">here be data</a>
or would i make that a .php file that would generate a csv ?

the data will come from MySQL.

View Replies !
Automatically Make Text Into A Link
how do I make php search through a $_POST[variable] for a certain set of string, lets say R1000000.  Then I would want to turn that string (R1000000) into a link
<a href=example.php?id="R1000000">R1000000</a>Then append that link back into the original $_POST[variable] replacing the R1000000, with the link version. I'm sure this is doable, I just have no idea where to start, regex?

View Replies !
Make Link To Typed Text
Is there some possibility in PHP to do automatic link when somebody type URL in form window? (One or more URL in one text.)

example: www.xxxxxxxx.com to be a <a href="http://www.xxxxxxxx.com">www.xxxxxxxx.com</a>

(as I think, maybe I can do that with chage string when query returned from database, but I must to know how he typed in database in text: only "www..." or begin with "http://www...".) Is somebody have a script how can I change strings?

View Replies !
Want To Make A Link Anchor Call A Script
In a certain PHP document at my site, I have a link to a Word version of the
same document. If the user downloads it, I want to log that s/he has done this.
Data logging isn't the issue. Calling a PHP script is.

So what I have is something like:

<a href=http://my-web-site.com/documents/mydoc.doc>Click here</a> to
download a Word version of this document.

Of course the <a> anchor exists only on the client side and the PHP script
exists only on the server. But since clicking the anchor sends a message to the
server, there ought to be a linkage that can be exploited to enable a PHP call.
I just can't think of one.

View Replies !
$PHP_SELF - Create A Link Which Refreshes The Current Page, And Based On Certain Items On The Page
On a page, I want to create a link which refreshes the current page, and based on certain items on the page (simple form objects like radio buttons)the page will load differently. My link looks like this: PHP Code:

View Replies !
Make A SESSIONS To Be Carried From Page To Page Throughout The Site.
I am working on a site and I need to make a SESSIONS to be carried from page to page throughout the site. My question is the site i am working on doesn't require login or anything so how I can register the SESSIONS as?

View Replies !
Setup A Link In My Page That Will Change My Page
I am working on a page with a right column that I want to use for
navigation. In this right column I am using the below code to set a
value for the link. I am using the variable $test right now.

I want to click on the link and when the value is set to a certain
value, say 1, I want the script to run and load a page based on a
switch case. This way I can use different links for navigation that
will load different forms and areas of my application. So here is the
code for the link line. Code:

View Replies !
Can You Make Anchors In PHP (like In HTML)
I did a search on google and seem to be getting conflicting answers. If it is possible can someone point me to a tutorial that is valid for PHP 5?

View Replies !
How Do I Make Sure HTML Is Loaded
I have a loading screen that has a nice animation that displays while the PHP is working in the background (it usually takes 20sec to do all the stuff). The issue is that it wont load the HTML until the PHP is finished querying -- so it kinda loses the purpose of having that loading screen.

But I want people to know the site's working and not have to hit refresh. Can I have the PHP wait until the end of the HTML before running it's stuff? And then have it modify the header or something similar (meta-refresh?) to forward the user to the results page?

View Replies !
HTML Link
The select options include each of the products which are coded by an ID number. To create a link in the outgoing mail by PHP page. I have a var coming from a Select Option $productid. It is written as

<OPTION VALUE="23532">

What I need to do is have this provide a complete link and name of the product. I would like to parse the databse of the store so that if the ID number is provided, on the resulting php page that sends the mail and displays the results on the screen, I want to read from the data base to complete the link that goes on to the screen and into the mail

Thus pulling
$product_name
$product_description
$product_thumbnail

and composing it into a preformatted HTML email message.

<P ALIGN="CENTER"><IMG SRC="$imagelink" width="100" height="120"><BR>
<A HREF="http://www.foobar.com/products.php?productid="$productid"> $product name</A> $product_description</P>

View Replies !
Url Html Link
Rather than make my own function Im just wondering if there is a predefined one or one you guys know of I want to have something that will turn a link someone has entered (www.website.com) and wrap it in html to make it a link so:

<a href="http://www.website.com" target="blank">www.website.com</a>

View Replies !
How To Make Php Output // In Html? (without Comment Out)
I am still in the process of making my site better, and I want an:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

in the above the <html> and <head> in the HTML doc. This site is generated by php/ MySQL, and I have located the: PHP Code:

View Replies !
Create An Html Link
Is it possible to create an html link for in internal *.html file where $filename.html is posted from a form?

View Replies !
Html Link To Data
The site I am building needs several html links, from images, to variouse categories. There are two foreign keys in the table so there is no need for a join. I simply wish to search those fields and gather all the relevant numbers to display on the results page. The method is a link with the correct variable. The query:

<?php require_once('Connections/sports_connect.php'); ?>
<?php
mysql_select_db($database_sports_connect, $sports_connect);
$query_qLinks = "SELECT department_id, cat_id, advert FROM entry";
$qLinks = mysql_query($query_qLinks, $sports_connect) or die(mysql_error());
$row_qLinks = mysql_fetch_assoc($qLinks);
$totalRows_qLinks = mysql_num_rows($qLinks);
?>

I am trying to get a "detail" link modified to send to the results page to where the data will be recieved. search_result.php?department_send=<?php echo $row_qLinks['department_id']; ?>

View Replies !
Php Page Will Not Process Link To Different Page
I have just installed RH Linux ES 3.0 (basic) kernel 2.4.21-9.EL, i686,
Apache 2.0.X, and php 4.2.X. I have made no changes to the php.ini.

I am trying to use the following page (code listed here) to click on
link, and display 1 of three pages. The code does not seem to work, it
only shows the "else" condition of the php code, which is page:
"stuff.php". What do I need to do to my apache/php config to get this
to work? Of course I copied this code from a php site tutorial somewhere.

Page code below:
<?
if ($link == page2){
$page="files/page2.html";
}
elseif($link == page3){
$page="files/page3.html";
}
else{
$page="files/stuff.php";
}
?>
<html>
<head>
<title> index.php </title>
</head>
<body bgcolor="#999999">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="3"><h1>The Template (index.html)</h1></td>
</tr>
<tr>
<td align="center" valign="top"><a href="index.php?link=index">
Page 1 </a></td>
<td align="center" valign="top"><a href="index.php?link=page2">
Page 2 </a></td>
<td align="center" valign="top"><a href="index.php?link=page3">
Page 3 </a></td>
</tr>
</table>
<? include($page); ?>
</body>
</html>

View Replies !
From Html Form To A Sitengine Link
My problem is this. I want a code, that would allow the phrase that i type in my html/php form, to be automatically put into a link in a search engine. I know how to do this with frames using variables, but how could i do that with opening new pages? How I would like it to go:

View Replies !
Grabbing A Link Out Of A Line Of HTML
I currently have a huge function that will crawl a page of a site and grab all the links off the page. There seems to be a problem though by grabbing the link text. I was curious how I can improve my function.

So I was curious if anyone knows how I can make a function that will grab "info@test.com" out of this line:

Just some text. <a href="mailto:info@test.com">Contact Us.</a>.

The main problem I come up with is sometimes it will grab the "Contact Us" or it screws up when they have additional values in the <a href> tag.

View Replies !
Can I Inser Value From Mypage.html?src=[value] Into A Link?
Let's say I have an incoming link going to

www.mydomain.com/page.html?src=[value]

where the value is the id of an ad or whatever. Is it possible to insert this value in to an outbound link on www.mydomam.com/page.html, i.e. is it possible to create a link that will automatically pass on this value to a different page?

View Replies !
Pass Variable With Html Link
how can I pass a php varialbe with an onClick= event handler?

View Replies !
Example Of How To Make An HTML/Javascript Desktop And Windowing System
What's the point of something like this?

As a php programmer, everything is already there for me, except a
decent client-gui system. I could write php-gtk apps, but they're not
as easy or as portable, html is php's native interface, and so maybe
with some javascript...

Does anybody else get frustrated at how long it can take to learn
something apparently simple in javascript, and how quickly it can be
forgotten because of the complicated syntax; or else how often it can
be discovered that ones solution was based on a browser-specific
feature?

It may just be me, but for this reason I've made a collection of
working, browser-independent scripts that produce an example windowing
system and desktop environment, including a command line and a short
manual.

If any of this sounds like it would be useful to you, feel free to
check it out. It's all one page, the source is well commented, and
although I wrote it I am not trying to own it. Copy as much or as
little as you want, make modifications and sell them.

It gets updated periodically (when I feel like it) so please feel free
to criticise or contribute. Feel free also to make a better version,
either from scratch or based on mine, so that I have something to
compete with and so that others can have more to choose from.

View Replies !
How I Can Make A List That Acts Like A Html Jump Menu?
how I can make a list that acts like a html jump menu (for a regular list I have to use a "Go" button in order to achieve the desired behaviour and jump menus I cannot use because they work only with links to other pages).

For example,I want such a list filled with questions from my db and when I select one I want to see its possible answers; the page stays the same, only its data differs based on the selection. Or you can have a look at such a jump menu on this website, the one with options for geting to various sections of the forum.

View Replies !
Make A Whole Page In Php
How would u make a whole page in php?

View Replies !
Search Each Html File For Every Occurrence Of A Link
I am looking to transfer content of hundreds of html files into a database. I need to search each html file for every occurrence of a link, image if there is one present, alt text and anchor text. It should then be placed in several variables $link, $src, $alt, $anchor and placed into a csv file so I can import it into a database. The only thing that I have done so far is read the contents of the html file into a string.

<a href="link.htm" target="_blank"><img border="0" src="example.jpg" alt="This is an example"><br>This is an example</a></td>

So in this example, I need to retrieve link.htm, example.jpg, 'This is an example', and 'This is an example'.

View Replies !
Html Link For Local File Not Working
I tried a simple example for html link inside php file
I have a file called file1.txt inside C:

I put the following lines in a file and named it .html

<html>
<a href='C:file1.txt'> open file</a>
</html>
here the link works and the file opens upon clicking

if the same file I named it .php and tried to run it using apache localhost
here when you click the link, nothing happen and the file didn't open

why??

knowing that if we put any website link it works , but if we put any file inside our computer it doesn't work.

View Replies !
How Do You Link To An External PHP Script In An HTML File?
I installed XAMPP, so everything should be configured properly. However, I'm still having problems. So, here are some of the questions I have. If anyone could help me out on any of them, that would be great.

1. What is a web server? How is it helping me write PHP?

2. When I open my PHP files in my browser, they are still not read properly. Any known reason why?

3. How do you link to an external PHP script in an HTML file? Is there a such thing, or am I totally clueless?

View Replies !
RegEx - Make HTML Lower Case Except Attribute Values
I'm in the middle of writing a function at the moment that uses a series of regular expressions to clean up some dynamically generated HTML from a WYSIWYG editor but I'm having a problem getting the HTML to convert to lower case correctly.

I have the following expression to convert the tags to lower case:

$strHTML = preg_replace("/(<[^>]+>)/ies", "strtolower('$1')", $strHTML);
Naturally of course this changes everything about the tag to lower case, the tag itself, the attributes and the attribute values which is all good except that I dont want it to convert the attribute value to lower case. Code:

View Replies !
Script That Can Take A Folder With A Lots Of Subfolders In It And Make Html-pages Of It
I wonder if anyone knows if there is a software or script that can take a folder with a lots of subfolders in it and make html-pages of it. I have a lot of free softwares organized in a lot of folders and would like to put them on a webserver and in the same categories as I have them in the folders.

View Replies !
How U Make This A Link<? Echo "$Website"; ?>
well that is an easy one but  i total forgot to do this and maybe i can get some help look online and i could find it.

View Replies !
How Do I Make The Results Appear On The Same Page?
Presently i am calling a new file to accept my dropdownlist values. Is it possible to make it such that the results will just appear on the same page? Code:

View Replies !
Help In Trying To Make A Web Page Counter
I'm trying to build a counter that will keep trach how many hits I got
and where they came from. In my html pages I have a script of code
that loads in an image. This image is a php file. When this file
executes it adds one to the stack counter,

The problem is that for the referring server, I alawyas get the server
that is hosting the web page that is calling my web page counter. I'm
assuming its because this is the server that calls the php code on my
server.

I have seen other companies do this, how do they do it????

This is what I have so far.

On the client I insert the following code onto my web pages

<img src="http://216.120.252.101/~multist/ws/add.php?
customer=fred&phrase=google&server=tedserve&filename=fred.html"
alt="boston kitchen design" width="267" height="90">

Where
http://216.120.252.101/~multist/ws/add.php is my php script to update
the stat counter

On my stat counter server,

$from=$_SERVER['HTTP_REFERER'];
// $from='ted'
$sql_string="INSERT INTO `tedpott_webstat`.`web_stat` (";
$sql_string=
$sql_string."`customer`,`path_name`,`from_server`,`key_word_phr ase`,`PageID`,`server_name`,`file_name`)";
$sql_string=$sql_string." VALUES (";
$sql_string=$sql_string."'".$customer."','".$path."','".$from."','".
$phrase."','".$pg."','".$server."','".$filename."'";
$sql_string=$sql_string.")";

print("<br>");
print("<br>");
print("second string b<br>");
print($sql_string);
print("<br>");
if (!$results=mysql_query($sql_string,$dblink))
die("could not add new record");
print("updateds database ok");


// close databse connection
mysql_close($dblink);.

View Replies !
How Can You Make A Page Find Its Own Url?
How can you make a page find its own url? anyone know? i want the page to know its url... like this post new page would know its url is http://forums.devshed.com/newthread...d&forumid=5....

View Replies !
Make A 2 Page Website
I need to learn enough php to make a 2 page website that looks nice...

View Replies !
Make A New Page In A Module?
I would like to hake a new page in a module.

Often times at the bottom of a module or page you will see an option to go to next the next page, or you will see a row of number which will link you to the next page. This is what I would like to do. The main issue is that I would like it to keep the same style of the block that is in the first page, on the second page and etc.

I'm not great at php so I downloaded an module called Module_maker. It's easy to use and an happy with the out come so far. The Module Maker has an html.text in it which I add html code to and it will show the code on the block inside the module. So.. I would like to have a second page and more which would be navigated to with a link somewhere on the page. keeping the same style. What would be very cool is if the only thing that changed when clicking "next page" would be the block its self.. That maybe going to far. Code:

View Replies !
Make DB Managing Page
I would like to create a PHP page, that I can insert info into my DB with it. like when you doing when signin-up to a board or smthng. how to do this?

View Replies !
Make A Web Page For Each Row With The Same Template
i have a database with 5 columns and a lot of rows i want to make a web page for each row with the same template is there a way to automatically do this or do i have to make each page?

View Replies !
Make A Page Autorefresh
how can i make a page autorefresh when a new insert in a MySQL database is added or an already existing one is changed. 10x.

View Replies !
Automatically Make A New Page
I managed to submit a post to my mysql data base. And then display it on the main page I did all this buy reading tutorials and am still very unsure on how it all works. I think I got some basics though. I submitted my post is there a way to get it to make the post turn into a link which will open a new page where I can let people reply to the post like any normal forum but I want to make my own so I can learn how it all works.

View Replies !
Switch - Make A Next Page
i am using the switch command. i am trying to make a next page. index.php // PHP Code:

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved