No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I've got a simple question: how can I make an onclick return confirm event work inside PHP tags. [code] <HTML> <BODY> <a href="delete.php" OnClick="return confirm('blah blah');"> Click here </a> <?PHP ECHO "<a href='delete.php' OnClick='return confirm('blah blah');'> Click here </a>"; ?> </BODY> </HTML> [/code] the first link is a simple html … | |
I wand to give the user the ability to upload as many pictures as he wants to. at present I hava a fexed amount of browse fields wich the user can use to select pictures... the code looks something like this : [code] <?PHP $max_file_size = 3000000; ECHO "<FORM NAME=name … | |
I'm trying to use some dynamic path names for an image upload page. In a tutorial they had something like this: [code] <?PHP $directory_self = str_replace(basename($_SERVER['PHP_SELF']), '', $_SERVER['PHP_SELF']); // this echoes something like " /foldername/ " presumbing that the php file is set inside that folder in the root. $uploadsDirectory … | |
I wish to know if there is any way to refear to an empty querry result. I want to implement a safety measure that prevents users from entering duplicate names in a DB. so I colect the value they enter in a textbox, then I create a querry wich checks … | |
ok, I have a form that submits data to a database. data that is colected from things like dropdown boxes, textboxes, checkboxes etc. I want to put some conditions that prevent the user from submitting something that is missing important data. I found a little tutorial that dose that, but … | |
Hello, I am fairly new to PHP, having just started messing around with it, but I need to solve something and I would apreciate any help any of you could offer. Here is my problem: There's a hardware online store built using php/html and connected to a mysql database. It … | |
Ok, I'm having a big problem with an sql string for a query. I want to implement a methode that allows the user to search for hotels by entering the minimal price ( so if they enter say 20 it will only display hotels that have prices above 20 ). … | |
Ok... I have another problem. I have tryed to split the resultts of my query in to multiple pages with a fixed number of results per page... I used this tutorial for it: [url]http://www.php-mysql-tutorial.com/php-mysql-paging.php[/url] Originally, my page worked as follows: There was a search frame where the user would select … | |
I'm interested in the limit parameter. When ever I try to use that I get this error: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(0,5)' at line 5" this is the line … | |
Ok, I have this dilemma reguarding the building of querries. I have a website that browses hotels. The user can select the region and the quality of the hotel via some dropdown boxes and then he is offered weather the search results should include certain options that the hotels should … |