No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
12 Posted Topics
Re: Did you save the file in C:/Program files/xampp/htdocs/your_file.php ? Maybe not in program files, but at least where the xampp folder is ;) | |
Re: Well...your line 12: <?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?> Is not right. Try this instead: <?PHP echo 'MiEncabezado("images/banner3.swf",$Xlenguaje)'; ?> And to be honest, I didn't understand that code =/ | |
Re: Oh yeah! It's easy to make your own [b]simple[/b] forum. [url=http://andersmoen.hotserv.dk/test/forum/]Here's the simple one I made[/url] (I didn't make any design to it, because then it's easier to just to copy the code from FTP into the place I'm gonna have the forum). I used some codes from [url=http://w3schools.com]W3Schools.com[/url] except … | |
Re: [code]$link = mysql_connect('localhost', 'root', ""); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_close($link); $query = "INSERT INTO information (title, fname, mname, lname, address, city, state, zip, email, memo) VALUES ('title', 'fname', 'mname', 'lname', 'address', 'city', 'state', 'zip', 'email', 'memo')"; if (!$query) { die('Data error … | |
Re: Let's see: [code]<?php function quotereplace($text) { $text = str_replace("\"", "", $text); return $text; } ?>[/code] And then: [code]<?php $yourtext = 'Hello, my name is "Anders Moen" and my site is "www.andersmoen.com"'; echo quotereplace($yourtext); ?>[/code] Does that work..? ![]() | |
Re: There's a good contact form [url=http://www.epleweb.com/php/]here[/url] :) | |
Re: [url=http://www.andersmoen.com/2007/05/24/pagination/]http://www.andersmoen.com/2007/05/24/pagination/[/url] Yes, I know this script gives out some errors, but that's because of the stupid way WordPress treats my posts..it makes " and ' special characters so you have to fix those if you want to use it ;) | |
Re: Well..maybe you need something between " and " in line 15? [code]$keywords = explode("$string", $search);[/code] Like that maybe? | |
Re: People can easily come with sql-injections if you use that code. You have to use for example mysql_real_escape_string or something else. Read about safety at [url=http://php.net/]php.net[/url] | |
Re: [QUOTE=trunks1212;315516]Ok, I'm writing code for Tic-tac-toe game and I'm almost done I just can't get it to stop when Player 2 wins. It works fine when Player 1 wins or if there is a tie. I know it's short notice, but can anyone help me before tomorrow morning. I would … | |
Hello. I want to make forms in ASP (login and contact forms) Let's start with the contact page: (where the form is) (is this right, and am I gonna call it for example; contact.html or contact.asp? [code=html] <html> <head> <title>Hope you can help me...</title> </head> <body> <form action="thanks.asp"> Name: <input … | |
Re: Can I make several users for this little script? And if I can, how? Hope it works (And by the way, when I use it, it says on the status bar "Something's wrong on the site" How come?) From Anders |
The End.