Hey guys -
I"m working with a lot of php/mysql databases here, and in order to update account information here's the code we use ...
printf ("\n<form method=\"post\" action=\"mailadd.php\">\n");
printf ("<input type=\"hidden\" name=\"geo_type\" value=\"rectangle\">\n");
if...
Hey guys -
i'm not sure what the "right" name of what i'm trying to do .. and taht's what my question is -
I'm currently trying to build a menu where users can enter one phone number, and then press "Add Another Phone", and then the old record is posted in text on the screen ... and new input...
hey guys -
i know that this topic has been posted here before, but i can't find it anywhere on the old forums.
my question is:
how do you do the "loading please wait"?
i have a huge database being displayed and I want to make a "Loading Please Wait" while the page is loading.
$query =...
So I've never had this problem before, but its' starting to drive me up a very large binary tree.
I go and create a site in dreamweaver - create the main template, and i can't get my "child" pages to inherit the stylesheet.
The template shows it perfectly, but the other things don't. When i...
hey guys -
i'm totally stumped with this problem.
i'm programming in dreamweaver (duh) and whenever i do a template update on my site there's this grotesque two lines that always appear even after i delete them in an editable region that make my php in the code not want to work.
<?xml...
Why Cookies?
I'm using them for controlled access to certain pages. Here's how I create it:
if($_POST['Submit']){
//assign a variable to the username the user input
$username = $_POST['user'];
//assign a password to the username the user input
$password = $_POST['pass'];
if...
Hey guys thanks for all your help so far .. i swear my question are gonna be starting to slow down because i'm understanding more stuff. One thing though -
How do I include a file to be read from another php file ...
like here's the thing.
i want to include
dbconnect.php<?php $dbuser =...
Hey guys - I'm trying to make it where users can sign into my database and then if their password is approved, they'll be sent to another page. here's the login script i'm using
<?php
//this initiates a session
session_start();
//see if there is a cookie that is both logged in the session we...
so yesterday my site was working awesomely cool .. then today i did a full site upload and *poof* 90% of my graphics changed their rights. they went from being chmodded 644 to chmodded 120. i don't mess with that kind of stuff when i'm dealing with website things .. i changed it back to how it...
hey guys -
i have a wierd question ... well its' wierd to me at least
so i wanted to make roll over buttons for my website. i amde them but decided that when a user was on a link, that that button should be different than the rest. now because i'm dealing with a site that has 100+ pages, i'm...
hi guys -
i'm trying to create a mysql dump of my databases ... and i'm not quite sure how to do it. the command i'm using is this: mysqldump -p -u root database > database.sql;
it says that i have an error in my syntax.
do you know why and do you know the proper format to do a mysql dumb...
Hi guys -
I'm working with dreamweaver to do a website and stuff .. and I'm trying to make it so when a user is on a page, the link is hilighted a different color, then when he gets off that page, it goes to the a:visited color.
as far as i know, the command for it in the css sheet is...
when i'm trying to strip some unneeded chars off my query ... i get this error Fatal error: Call to undefined function: left() and here's the statement that causes the error$query = left($query, strlen($query)-4); is there a strcat function or something in php?
-------
www.letour.fr
another question ....
i'm having the user input certain search fields from a typical html form .. passing them in with $_POST (<--php stuff) values .. and then i'm stuck at writing my query ...
what i have now is..
$query = "SELECT * FROM networks WHERE name='$name'
and...
hey guys - don't get too frustrated with this (i'm really new to mysql).
this could be a terrible mistake, but i have a data set of about 5000 records. since it's going to be accessed online i decided to split it into 9 tables. (split up by region ... they're just data sets of station names...
I'm not sure what is causing my error here but the problem is that when i pass in a hidden value from a form into my php page, the php is not getting the values ... here's the code
update.html
-------
<form action="update.php" method="post" name="update">
<select name="network" >
<option...
here's the problem .. i'm trying to have the user select a network, which accesses a table in my database, then from there there the user is given an option to delete that record.
it goes through three pages (see code below) to finally the 3rd page - where i get two errors ...
delete.html...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.