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.





Dont Show Update Page


I dont want people to see my update script more like when they press update the page will refresh with the new entry..




View Complete Forum Thread with Replies

Related Forum Messages:
Numbers That Being With 0 Dont Show Up In DB
i have a database that holds zipcodes, and some zipcodes are say 08888
however when they are entered in the DB they are 8888, so if someone enters 08888 into my search it wont find it.

View Replies !
PHP Variables Dont Show Up
folks, I am writing a RSS feed as below. You will notice that, in <link> </link> tabs I am trying to output a PHP variable value (which is a URL)Problem is that although I see the value being output OK on commandline execution on the server, e.g. %php  foo.php,

when I load the page in the browser, the out put for that variable is empty!! i.e. If I see the page source then I dont see <link>value-of-the-variable</link> instead, the tabs show up as <link> </link>

I am at my wits end on how to get this working. any ideas? Code:

View Replies !
Image Dont Show
I want to have members with image1.jpg as their avatar not to show in the random if statement. How would I add that to the following statement? Code:

if ( $b = sql_query("user","`user`,`day`,`month`,`year`,`location`,`gender`,`city`,`state`"," ORDER BY rand() LIMIT 0,1",TRUE) )

View Replies !
MySQL Dont Show Older Than Today
I'm making a database for upcoming shows. so, what I wonder now, is there a way to show only upcoming shows, and just exclude the shows older than todays date? what I've got atm is: Code:

View Replies !
Will Someone Show Me His/her A Simple Update Php Program
the program consists of the following logic,

1. read in a customer no, click a buttom , do a search , find the record,
2. echo the record on the same screen that data were inputted. they are in ready stage to re-enter correct values / data.
3. click a buttom to do a update.

I do know whether in one screen to click a bottom process. I got myself bit and piece and I have put it together to form my first update php program.

View Replies !
Show And Update Html Code From A File
there's a inc.php file which contains html code.I want to show this html in a textarea box and if it edited ,update the file.

View Replies !
If Value =1 Direct To Page Otherwise Show Data On Page
In the member account area there is a button saying (list) when the member clicks this they are redirected to add.php here i am wanting to check if a members account is limited, if it is direct them to a page saying you must pay your bill. if its not display the info on the page.

in the database there is a field called limited which is tiny in if its not limited the value of the field would be 0 if it is limited the value would be 1.

View Replies !
If Page = 'about' Show The About.html Page?
I wanted to do some kind of PHP script so that if the current page the viewer is trying to view is called index.php?page=about then it will use the php script to embed with an i-frame the about.html file into a cell in my web page's table. Basically, so that the whole page stays the same other than one cell of the table which is dynamic depending on the status of the index.php?page=whatever. Code:

View Replies !
Show Some And More On Next Page
I'm stuck making my log for login sessions show only 50 per page. The reason I need this is because it will only display about 250 items before not updating/displaying anymore.

If anyone has a link to a tutorial, that would be super- couldnt find one via google.

View Replies !
Show When The Page Has Been Last Modified
1. I have php script that will show when the page has been last modified. How do I link it on my home page. The link that I am using now does not work. Here is the link:
<? include("updatepage.php"); ?>

2. I have a php forum. When I link it this way <a href="xxxxx/index.php"> it brings up the source code. When I link it this way <a href="xxxxxx/"> it brings up the dir. When I link it this way <a href="http://xxx/xxxxx/index.php"> it works. How do I get it to work with this linking <a href="xxxxxx/index.php">

View Replies !
Why Does My Page Always Show JUST First Set Of Results?
Whenever I execute a query I limit it to lets say 2 rows per page. The problem is my code will only say there is 1 page of results when there should be more! What am I doing wrong? Code:

View Replies !
Show 20 Results Per Page
i have created a database with some data in it and i want my page to read page and display the first 20 results and on the bottom to add numbers like [1] [2] [3] so the user can go to the next results.I figured that i can display the first 20 results by adding a counter on the while loop

$num_rows = mysql_num_rows($result);
$k=0;
         while (($k<=20)&&($row = mysql_fetch_row($result))){
$k+=1;
$i+=1;but i don't know how to display the numbers on the bottom.Here is my try
<?php for($j=1;$j<=($num_rows/20);$j+=1){
  echo "[".$j."]";
} ?> ...

View Replies !
Flash .swf Doesn't Show In PHP Page
I've recently put together a flash navigation for a 4 page site... three pages are HTML, the index page is PHP with a weblog. In all current Mac browsers, all four pages load fine. In Win IE 6 only the .shtml pages will load the flash--the .php page shows a big white box instead.

If I include the index.php in the index.shtml file, the flash loads fine, but I'd like to know if there is some issue with PHP & flash that I should look out for... or is the issue with IE 6.

View Replies !
Show Image On Same Page
I echo a certain amount of images, these images are thumbnails. I want to be able to show the real enlarged image next to the thumbnail without having to reload the page. So what i'm thinking of is something like the onclick function in JS. I tried some stuff but still can't make it work. my code is something like this:

for (i=0; i<count($test); i++){
echo "<a href="...."><img src="$test[$i]"></a>";
}

tried putting a javascript function in there but wasn't successful. i basically need to pass just $i to another function and that function onclick() will produce the image.

View Replies !
Show Home Page On Log In
I want to have a homepage with a log in feature. But I want it to say 'You are not logged in" or "you are logged in" depending on whatever is the case. I know how to check db entries etc but should I have the php on the same page in order to position the welcome note ie:

<?php echo "<p>Welcome $_SESSION(username), to my website</p>;?>

View Replies !
Show Page Depending On Request Url?
Is there any way to show a different page depending on the request url? I have a few domains that point to one IP address. What I want to do is if someone requests

http://www.site1.co.uk they see site1.php or
http://www.site2.co.uk they see site2.php etc

all from the root directory? I do not have httpd.conf access Is this possible?

View Replies !
Show Number Of Visits On Each Page...
How should i do when I want to show number of visitor on each page where each page is describing a user details like this:

http://localhost/user.php?user=1 on this page it show details about user 1. And for user_52 I want to show how many visitors this user have had: http://localhost/user.php?user=52 it will show number of visits

View Replies !
Show Error Message On Same Page
I have Index.php which contains the HTML form with a username and password field + submit button, action: is my check.php.

Say for example the user only input's a username and miss out the password field; when he clicks the submit button. I want the same page to be refreshed with a error message appearing below the submit button saying "error, please fill all in". I can get this to display on another page. but want this to be on refereshed on the log-in page.

View Replies !
Show Page Break In Records
I've just started to learn php and sql, and I noticed that there are
several php discussion groups here. Pardon me if this is the wrong
group, and I hope my first question isn't too silly. :-)

I'm building a website that will publish articles, so I have an
article table which contains a heading field, an ingress field, and a
body field which will hold the complete article. There are line shifts
(or page breaks) in this field, but my display-page won't show them.
How do I show the article with the page breaks?

View Replies !
How To Sho Video Clip On Web Page Also A Live Show On Web
Indeed I am using php and Mysql.

My licent want to
1. Show a video clippings on the web site.
What I need to do ?
Please elaborate a n example will be great thing.

2. He also want me to show live telecast of a seminar
What arrangement I ned to do
From hardware point of view as well as Software point of view.

View Replies !
Urgent Please Help (how To Show .doc File On An Html Page)
i have uploadeed a .doc file into server now i want to show it on a
page
how can i do it

View Replies !
Show Postings From A PHPBB Forum On Another Page
I want to show the 3 latest threads in a phpbb forum on another php
page, but as I completely SUCK at PHP,

View Replies !
Page Load Time Show Really High
im running PHP 5.2 on IIS 6 (Windows 2003 Server) and im getting a weird load time result when trying to display page load times on each page. e.g. Page generated in 1193387528.5501 seconds. this is my current code:
<?php
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];
$finish = $time;
$total_time = round(($finish - $start), 4);
echo '<p>Page generated in '.$total_time.' seconds.</p>'."
"; ?>

but i've tried 4 others which are all simular. Any idea as to why it's showing a false result as it's loading in unde 1 second (Dual Xeon 2.8 HT server and connecting over 100mb pipe (college campus)).

View Replies !
Get A Paragraph Of Text To Show On The Home Page Only
I am using a script that I purchased and downloaded. This script has a template folder and inside has header. php, and footer.php. The center content is populated from various other pages. How would I get a paragraph of text to show on the home page only, and no other pages in the script

View Replies !
How Do I Alter This Script To Show 5 Rows Per Page?
I'm very new to php/mysql and am having a few problems I would like to show five rows of data then have a link to next five / previous etc.

I've included the script I have below. I would like to add I have found articles on how to do this, but my problems is i don't knowwhere I should be editing the below code. I have tried several examples but just keep getting errors. Code:

View Replies !
Str_replace - Add Some Content On The Page To Show What You Have Submitted?
I had this wacky idea to have a pull down that keeps the same values when previewing what they have select in the post (ie. Webmaster World's 'Preview' Button When you post It has the same value of what u put in it when you add some content on the page to show what you have submitted) My Code:

$genre_pulldown = "<select name="genre" id="genre"><optgroup label="Genre"><option value="Yo Mama">Yo Mama</option><option value="Blonde">Blonde</option><option value="Political">Political</option><option value="Religious">Religious</option><option value="knock Knock Jokes">knock Knock Jokes</option></optgroup></select>";
if(!isset($_POST['genre'])){
echo $genre_pulldown;
}
else{
$genre_pulldown = str_replace('{$_POST['genre']}"', '{$_POST['genre']}" selected', '{$genre_pulldown}');//LINE 81
}

View Replies !
How To Show The Number Of Queries Executed For A PHP/mysql Page?
I would like to do some benchmark on my site...

Could you tell me how to show the numbe rof queries executed for a PHP/mySQL generated page?

View Replies !
Problem With Include - Register Page Doesn't Show Up
I am trying to include a page, but for some reason it is not working. Here is my code:
<?php

if ($page=="") {
echo "<center>Starbits Pets is currently upgrading to V2, so we will be down for a while, come back later!";
}
elseif ($page=register") {
include ("html/register.html");
}
else {
echo "That is not a valid location!";
}

?>

The register page doesn't show up I have tried almost everything I can think of, and it still doesn't work.

View Replies !
Show The Current Time At The Resort On His Home Page.
I have a client who owns a resort in the Philippines. This client wants to show the current time at the resort on his home page. How would this be done with PHP? Is it some calculation based upon GMT? I think (I'll have to check) that the Philippines is +8 GMT...so is that what you'd have to do: create a snippet that grabs the current GMT and add "8" to it?

View Replies !
Script Show The Requested Secure Page Apear In The Right Frame?
How do I have my formscript show the requested secure page apear in the right frame instead of popping up this page in a new window. I tried to fix it by writing " target=top" into the script line. Doesn't work ! Code;

View Replies !
Show On A Page The Date A Table In A MySQL Database Was Last Updated.
I am looking for a way to show on a page the date a table in a mySQL database was last updated. Does anyone know of a simple PHP (or similar script) that can do this for me.

View Replies !
Update Page
whenever i click the update button, its just refreshes the page and the content is still the same. below is my current code:

View Replies !
Showing Database Records As Links To A Page To Show Relevant Detail
What I currently have is list of players what I want to do is make each player a hyperlink to a page with their details on. The hyperlink would be like this www.mydomain.com/playerDetails.php?playerID=1 and it would display the player with playerID 1. I have seen this on lots of sites and would like to know how this is done, can anybody recommend me any tutorials or write me a short script to do this.

View Replies !
Email Used To Update Web Page
There is a service (URL) that allows you to make updates to your web site by sending email ! It's a very slick service, however they act as a middle man. You send the updates to them, and they either host the content or ftp it to your site.

What I would like to do is provide this type of updating myself. Has anyone seen or worked with updating of web pages by sending email ? flexwindow sounds like a nice idea however I am not comfortable with having my data/web updates pass through some 3rd party source.

View Replies !
Update And/or Post To Web Page
I need to create a form that will:
1.) Open with the current data already in the form fields.
2.) Allow you to update the database from same form.
3.) Allow you to submit to post on a web page that users can see, (but not without being updated FIRST).

The structure of the database is simple. The most complicated part of it, is that it queries to get a "Percent Change" and "Price Change" and gives a choice (checkbox) of what lists it posts in. When "Post" is clicked, it inserts data into checked lists to be displayed. For example: Code:

View Replies !
Page Not Showing New DB Update!!
I made this CMS that would allow a band to login and update their show list. The problem I am having is that after they have updated their show list and then use the link to go to the page that displays the shows the page is not updated.. I have to it the refresh button to have the new shows displayed.

View Replies !
Update Front Page
Can be written in PHP or PERL. Basically, I'd like to have a server side include on my home page that would include whatever file would display the feed. Then, on the flip side, I'd like some backdoor part where I can go type in a new entry and have it add it to the feed. I know these programs have to exist, but I'm having no luck or I'm finding ones that are 4 years old and are no longer supported.

View Replies !
Write A Simple Script Which Will Show Different Content On A Page Depending On The Week And Time
I am trying to write a simple script which will show different content on a page depending on the week and time (it needs to change at 5pm on Friday over the weekend) and I came up with this: Code:

View Replies !
OOP Page: Where To Put Update, Insert, Delete
I have a page that shows info from MySQL. It is for an online education
site. It uses different classes arranged in a hierarchy. Each lesson is
roughly laid out like this:

Lesson
|-Intro
|
|-Section
| |-Procedure
| |-text, video, images
|
|-Section
| |-Procedure
| |-text, video, images
|
|-Summary

I have all the classes working properly for displaying info from the
database. Now I am building the admin site.

Where should I put the update/insert/delete code? Would those go inside the
classes? Should I use the lesson object when doing the maintenance? Or,
should I just have a separate page that handles the database stuff and only
use the objects to display the data from the database?

View Replies !
Update Multiple Records From One Page
Recently, I had a request to create a page in our database web interface where we can update multiple customer records from one page.

Here's the flow of what we want to do:
1. Search for a customer by name.
2. Bring up a list of the matching customers and the data that is to be changed in text boxes in a table - one customer per row with 6 fields for each that can be modified (6 text boxes).
3. People can update the appropriate fields and click submit button.
(** this is done to this point **)

We may be returning as many as 250 records per search, so efficiency would be pretty important. I am not sure where to go from here. I would guess I should build and array of keys and values from the HTTP_POST_VARS that are submitted and then loop through them to UPDATE the database to the new values. I don't know how to do this, though.

View Replies !
Update A Web Page Via Email Using Stdin??
I'm setting up a support forum for my customers on my web site. Some of my customers seem to have a real problem with actually visiting the site to post support queries and prefer to email, others the other way around. What I would like to do is to have a database driven support forum that could also receive posts via email. I guess this should be possible using php's standard input stream, but having never used stdin before, I don't really know where to start and I'm having real trouble finding any documentation on this subject.

View Replies !
Update Page Content From A Form
I want to have a web page that uses variables from a text file as some of its content.
I want another page with a form that will allow me to updated/change the variables in the text file. I have no need to add variables using the form only change the values of existing variables.

Basically I want to make some content on one of my pages update-able using a form; not entire paragraphs just single words that I have laid out in a table. I have been told that I should just use something like mySQL for this. I do not know if it is necessary since I only want to do it to one page.

View Replies !
Creating A Login And Update Page
I've recently had a request from a couple of clients for a login and update page. I know this can be done using php. They want a login page to access a secure part of the website and then alter a couple of pages to update. I've tried a couple of different things such as creating an ftp client, which I'm not sure is the right way to go about it, plus it wouldn't work after so far following an online tutorial, I could only attain the server information in a list, couldn't make it so it was editable, I've also tried creating a login page using a tutorial, but I don't see how that's going to help me unless I find a way of being able to edit (add to a table of contents) once i'm logged in.

View Replies !
Made A Page To Update Records.
I have made a page to update records. But when I hit submit, the data doesn't get appended to the record. Code:

<form action="<?php echo $editFormAction; ?>" name="form1" method="POST">

Code:

<input type="text" id="last" name="lastname">

Code:

<input type="hidden" name="MM_update" value="form1">
</form>

View Replies !
Edit Page To Update Tables
Ok i have 2 pages here.. An edit page and a send edit page. Problem i'm having is when i hit adjust(submit) the values goto the next page but do not update the database tables that i have I think it's my update code that I'm using.. but i'll post both pages Code:

View Replies !
Directing Users To There Update Page.
I am building my first database driven website using MySQL PHP and Dreamweaver 8, I have created a basic registration and login system…. OK now this is what I need to know.

After the user has logged in I would like the users to be directed to there page where they can update there details (not a general members page).

I know how to create the update page but getting the users to there own unique page to update is the problem.

View Replies !
Page For Non-technical Users To Update
I haven't coded anything in PHP in a long while and whenever I do, I don't again for so long I forget everything. What I'm looking to do is make a page where a user can login, then have a page after that with a bunch of fields that anyone can update by filling it in, hitting submit and have those changes be made on the live webpage. Kind of like updating a table with stats.

View Replies !
Update Form Created Web Page
Is ther a way to update a page based on a text area in a form. I have a form that has two text areas one is for asking question of admin and the other is for public to see (Testimonial). What I need is if the user fills out the form and uses the Testimonial text area then the page is updated. If the question text area is used it doesnt update the page. In other words if the Testimonial text area is left blank the page doenst update. See code below. PHP Code:

mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$sql = 'SELECT Testimonial , First_Name , Last_Name , Company , City , State , Date FROM Comments ORDER BY Date DESC LIMIT 0, 30 '

$result=mysql_query($sql);

$num=mysql_numrows($result);
if ($num==0) {
}else{
.......................

View Replies !
Refresh Page To Update Table (every Minute)
I fill my table from MySQL tables. Each 1 minute i need to update table contents according to the changes in database(made by another people)Can i do it in php? And how?

View Replies !
How To Upload Image File In Update Page
How to upload image file in page update ..?? i have logic like this : if user upload new image then old image must delete and update DB used new name if user not upload new image then old image no delete. code form like this (i dontknow this code right or wrong, please correction if wrong) : Code:

View Replies !
Dont Add Twice
I have a form and a word is put in to a database, but i dont want the same word goin in twice. so for example when user puts a word in there and its already in there it will produce an error.

<?php
{
$sql = "INSERT INTO search (search_word) VALUES ('$trimmed')";
$result= mysql_query($sql, $conn) or die(mysql_error());

}
?>

View Replies !
Checkboxes - Show A Tick In The Boxes To Show That They Have Already Been Added.
I have been trying to learn checkboxes and arrays, and I've finally figured out how to add the checkboxes to the database.

I currently have two forms  addlinks.php and modifylinks.php and I have a dolinks.php that submits my data to the database.

What I would like to do now is on my modifylinks page show a tick in the boxes to show that they have already been added.

At the moment if I dont tick any boxes on modifylinks.php it deletes my previous data, and I have to retick them everytime I do an update. Code:

View Replies !

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