TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: cskott
Forum: Absolute Beginners 11-12-2009, 02:19 PM
Replies: 24
Views: 2,574
Posted By cskott
Yes i know.. :-) I have just nearly tried...

Yes i know.. :-)
I have just nearly tried everything.

Is it normal that the UPDATE string is so difficult to get working?
Forum: Absolute Beginners 11-12-2009, 12:00 PM
Replies: 24
Views: 2,574
Posted By cskott
It still dosen't work. I think i give up..

It still dosen't work.
I think i give up..
Forum: Absolute Beginners 11-12-2009, 07:27 AM
Replies: 24
Views: 2,574
Posted By cskott
No it still goes to a blank page <?PHP // Take...

No it still goes to a blank page

<?PHP
// Take this out when you're ready to make the code live.
error_reporting(E_ALL);

// Connect to server and select database.
$hostname = 'localhost';
$username...
Forum: Absolute Beginners 11-11-2009, 04:49 PM
Replies: 24
Views: 2,574
Posted By cskott
No i forgot the php tags.. Sorry.. :-) Now have...

No i forgot the php tags.. Sorry.. :-)
Now have put the tags in then it goes to a blank page when i press submit. No errors nothing.. The database is still not updated. Should i not tell the script...
Forum: Absolute Beginners 11-11-2009, 07:35 AM
Replies: 24
Views: 2,574
Posted By cskott
I get this error now: // Take this out when...

I get this error now:

// Take this out when you're ready to make the code live. error_reporting(E_ALL); // Connect to server and select database. $hostname = 'localhost'; $username = 'xx'; $password...
Forum: Absolute Beginners 11-10-2009, 08:23 AM
Replies: 24
Views: 2,574
Posted By cskott
What about $tbl_name = 'test_mysql'; Shoulden't...

What about $tbl_name = 'test_mysql';
Shoulden't that be somewhere in the script?
Forum: Absolute Beginners 11-09-2009, 12:08 PM
Replies: 24
Views: 2,574
Posted By cskott
?php $host = 'localhost'; // Host...

?php
$host = 'localhost'; // Host name
$username = 'xx'; // Mysql username
$password = 'xx'; // Mysql password
$db_name = 'xx'; // Database name
$tbl_name =...
Forum: Absolute Beginners 11-09-2009, 11:15 AM
Replies: 24
Views: 2,574
Posted By cskott
I have put your eksampel in update_ac.php and...

I have put your eksampel in update_ac.php and then i get ERROR.


<?php
$host="localhost"; // Host name
$username="xx"; // Mysql username
$password="xx"; // Mysql password
$db_name="xx"; //...
Forum: Absolute Beginners 11-08-2009, 09:23 PM
Replies: 24
Views: 2,574
Posted By cskott
and what would that mean? Could you place an...

and what would that mean?
Could you place an eksampel..
Forum: Absolute Beginners 11-08-2009, 09:00 PM
Replies: 24
Views: 2,574
Posted By cskott
I have put in mysql_query($sql) or...

I have put in mysql_query($sql) or die(mysql_error()); in UPDATE_AC.PHP but that didn't work..

What can i do so my code isn't so easy to enject?
I don't know so much about php so hope you can help...
Forum: Absolute Beginners 11-08-2009, 11:24 AM
Replies: 24
Views: 2,574
Posted By cskott
Is there not any who has an idea what the problem...

Is there not any who has an idea what the problem is?
Forum: Absolute Beginners 11-07-2009, 07:25 PM
Replies: 24
Views: 2,574
Posted By cskott
I have put in error_reporting(E_ALL); but it...

I have put in error_reporting(E_ALL);
but it dosen't come with any errors?
Forum: Absolute Beginners 11-07-2009, 06:24 PM
Replies: 24
Views: 2,574
Posted By cskott
Updating data in mysql

Hello hope you can help me..

I have found this script on http://www.phpeasystep.com/mysql/9.html but it dosen't update the database. I don't get any errors so i can't find out what is...
Showing results 1 to 13 of 13

 

All times are GMT. The time now is 05:49 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design