he margins.
Jim
www.websitemanagers.net
- Original Message -----
From: "PAUL FERRIE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 13, 2003 3:22 PM
Subject: [PHP] setting word wrap
| Hi guys i wonder if someone could help me with this.
|
| http://thor.ancilenetwork
Hi guys i wonder if someone could help me with this.
http://thor.ancilenetworks.co.uk/~pferrie/vin/php/adm/
If you select table "reviews" and the press "view database" u will see that
the text goes whey out to the right of the page making the bottom scrollbar
kickin, this is not good. When i add
to acommidate the data
being returned, this is fine.
What my problem is:
Here is the url to the admin area
http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/index.html
username: paul ferrie
pass: admin
the first 2 db's in the drop down menu are fine, it's the third and the
fourth.
i am getting this error returned but i dont know why :(
error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource in /home/pferrie/public_html/vinrev/adm/insert2.php on line 6
php file
";
echo"Edit
record";
}
}else {
if(!empty($_FILES['userfile']['t
Got it working :)
thanks for the help
Paul
"Paul Ferrie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Getting bit of a regular on here :)
>
> I am hoping that someone can point me to a script that allows me to attach
a
> file to be uploaded to a set d
t, here's some untested code:
> >
> > if(!empty($_FILES['file']['tmp_name'])) {
> > $name = strtolower(eregi_replace('#| |\?|!', '',
> > $_FILES['file']['name']));
> > $destination = 'path/to/w
ace('#| |\?|!', '',
$_FILES['file']['name']));
$destination = 'path/to/where/you/want/the/file/saved/'.$name;
if(move_uploaded_file($_FILES['file']['tmp_name'], $destination)) {
echo 'Successful';
} else {
echo &
Getting bit of a regular on here :)
I am hoping that someone can point me to a script that allows me to attach a
file to be uploaded to a set dir.
I have already got the form built, except for a browse file option.
The form is part of this admin area
http://thor.ancilenetworks.co.uk/~pferrie/vinre
Thank you Bas, i cant believe that once again it has been down to simple
syntx
cheers
"Bas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
b1.pair.com...
> Just change your code to:
>
> $result = mysql_query("SELECT * FROM $tablename WHERE id= $id")or
> die("ther was an error
>
uot;title"],
$picture=$myrow["picture"],
$review=$myrow["review"],
$lable=$myrow["label"],
$format=$myrow["format"],
$price=$myrow["price"],
$rating=$myrow["rating"]);
} while ($myrow = mysql_fetch_array($result));
echo ""
Hello again guys
This week i have been on here and made a few posts regarding a small
admin site app
http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/myadmin.html
Most of it is now working thank god, but still have have problems fully
populating the textfields when i go to edit a record.
So your saying i should be using POST rather than GET?
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> PAUL FERRIE wrote:
>
> > I am not sure what the problem is here. The script runs and deletes the
> > relevent row but stil
I am not sure what the problem is here. The script runs and deletes the
relevent row but still returns "DATA from albums loaded
row id 658 did not get sent
Error deleting row!
Warning: Cannot modify header information - headers already sent by (output
started at /home/pferrie/public_html/vinrev/ad
How would i pass tablename in the submit button?
Check out edit record u wil see
http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/myadmin.html
Cheers
Paul
"Paul Ferrie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello again guys, thanks for the help ove
et this working
Cheers
paul
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> PAUL FERRIE wrote:
>
> > Hello again guys, thanks for the help over the past 48 hours :)
> >
> > Over the past week i have had the job of tweaking the php p
lol
i not that feeling whaen it come to flash based questions ;)
Cheers]
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> PAUL FERRIE wrote:
>
> > Hello again guys, thanks for the help over the past 48 hours :)
> >
> >
Hello again guys, thanks for the help over the past 48 hours :)
Over the past week i have had the job of tweaking the php pages of a friends
site. so far so good :)
Now i am onto the admin area for running the website. I downloaded one of
the many db managers scripts from www.hotscripts.com
Lu
I am trying to create a drop down menu to set varaible $tablrname
Cheers
paul
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> PAUL FERRIE wrote:
>
> > What am i overlooking?
>
> The part where you tell us what you're actuall
What am i overlooking?
";
echo "".
$tb_names[$i]." ";
echo $tb_names[$i] . "";
$i++;
}
echo "";
?>
When tested
heres what i get
http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/table_list.php
There are 2 tables within the DB 'reviews', 'albums'
Cheers
Paul
--
PHP Gener
Cheers
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sunday 16 November 2003 23:17, PAUL FERRIE wrote:
>
> Please spend a little time to think up a descriptive and relevant subject
> heading. "newbie stuck again" does nothing t
Yeh cheers derek i dint think it would be something like that :P
Can u ilabirate more on the $query structure?
cheers
Paul
"Derek Ford" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> PAUL FERRIE wrote:
>
> >Here's what i have done. i have download
Here's what i have done. i have downloaded a very simple database manager
from www.hotscripts.com. It allows me to edit, delete and add new
information to the database. i have a couple of problems.
1. form field dont fill with all the data senback from the db to be edited,
as fars as i am awar
your thoughts :
http://www.weberblog.com/submit.php?type=story&topic=PHP_Web_Logs
-Original Message-
From: PAUL FERRIE [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 15, 2003 5:46 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Alternet row colors
Hello all
I have been work
Hello all
I have been working on this website
http://thor.ancilenetworks.co.uk/~pferrie/vinrev/index2.htm
I did not design the site i have just been asked to tweak it
My php knowledge is limited always learning something new. Anyways I have
been trying to use a code that i got from
www.hotscripts
False alarm !
"Paul Ferrie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> i have a admin section for a new site that i have built, to cut a long
story
> short
> the submit form adds news stories to the site. For some reason behound me
> the php script
i have a admin section for a new site that i have built, to cut a long story
short
the submit form adds news stories to the site. For some reason behound me
the php script is converting " to a square.
It is a flash based admin area not yet sure if this is an issuse, i just got
the call :(
the font
Hi guys,
I am have created several websites(flash) with admin areas so that the
clients can update sections of there site.
I have created a little admin section on my own site(yet to be published).
there is a client login area for client who's site's i have built. Here they
have the option to chan
Cheers your a star :)
"Eugene Lee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, Sep 23, 2003 at 09:01:19PM +0100, [ PAUL FERRIE ] wrote:
> :
> : God i hope this is simple :)
>
> It is. I think. :-)
>
> : I have news bloggs sectio
God i hope this is simple :)
I have news bloggs section on my site. At present the news is loaded in
from a txt file, most of the site is now running with most sections being
loaded via mysqldb's.
I would like to add the old entries to the new db that i have setup for the
bloggs.
My problem is co
Hi guys,
I am working on a flash forum for my site. Came with the FOED book,
anyways i am tyring to delete the threadCount by -1 from the db.
could below does dlete the count but in multipules of 2.
Anyone
cheers
$query = "UPDATE forumForums SET threadCount = threadCount -1 WHERE forumID
= $fo
Hi again guys :)
I am having problems with this little email user script for my website. I
have set this script here to run with flash outputing the information. When
i run the script in the browser i grt this error
"Warning: Failed to Receive in C:\apache\htdocs\innovat\forum\mailuser.php
on line
sh work :)
>
>
> ----- Original Message -
> From: "- [ Paul Ferrie ] -" <[EMAIL PROTECTED]>
> To: "Awlad Hussain" <[EMAIL PROTECTED]>
> Sent: Wednesday, June 11, 2003 12:05 PM
> Subject: Re: [PHP] what can i store in the DB
>
>
> > I d
Hi guys,
I am not really an expert in this I just learn what I need to know when I
need to know it.
I am building a flash tutorials section for my site
http://www.innovativedesigns.org.uk
The section is my first real attempt at using php+mysql without having to
check the books or reference files
Hi guys i hope there is someone in here that use flsah along with php to
help with this :)
Anyway i will make it simple.
mysql returns a number say 123 i want flash to take this number to animate a
progress bar, but here the problem it does work but the progress bar dosn't
animate it just sets to
It seem there is some probs with the latest release of php something about
global vars.
Jst checked and it works now. It was the php thing right enough. i hope
that my server admin have done the same thing with the php.ini
cheers guys.
"- -" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTE
Hi again guys i have run into another problem :(
i am trying to build a user poll (flash+php+mysql)
I have the interface all sorted but i have a problem with my add new poll
php file.
When i hit the update poll button in flash it seem that everthing has work
and it' send back a msg saying all went
Sorry guys ingore the post, i have narrowed the problem down to a problem
with posting the vairables from flash.
cheers
"- -" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can anyone see a problem in this? When i run the script i am getting this
> error "Noti
Can anyone see a problem in this? When i run the script i am getting this
error "Notice: Undefined variable: action in
C:\www\Apache2\htdocs\user_poll\2\addpoll.php on line 13"
Could not insert poll\n";
} else {
print "Poll added\n";
}
mysql_close($link);
}
?>
please anyone
Well i am still getting all the zero's
: ( : (
"- Edwin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> "- [ Paul Ferrie ] -" <[EMAIL PROTECTED]> wrote:
> > So
> >
> > Is NOW(
So
Is NOW() a mysql function?
"Stephan Seidt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> yep i guess that, so NOW() is a mysql function.
>
> - [ Paul Ferrie ] - wrote:
> > So Jason what your saying is this
S
> (NULL, '$name', '$pass', '$email', NOW())";
??
cheers
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tuesday 07 January 2003 00:19, - \[ Paul Ferrie \] - wrote:
> > hey
nope it still comes up with all the zero's
:(
"Stephan Seidt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What sort of mysql field type did you use for dateAdded ?
> You need UNIX_TIMESTAMP (or sth like that) for unix ti
hey guys could someone help me
I have created a user login register system in flash with PHP and Mysql.
Everthing Now works fine aprt from the time stamp of when the user
registered.
Code ---
// Get current date & time
$time = time();
// Connects to the Database.
$
Here is my problem
I have created a user login system (flash+php+mysql)
And it just about works
Here's the prob when i go to register as a new user the code wont properly
check to see if the username already exsist's in the DB, I am pretty sure
the problem lies in my first $query
PHP:-
44 matches
Mail list logo