- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Hi All I have created a simple php rss feed with works fine. However what I would really like is for the rss feed to dynamically change based on a search form. i.e. User searches for all properties for Rent, of Apartment type only, clicks on the rss icon which … |
|
Hi I had an field to upload pdf's only, which worked well. I want to add the option to add docs as well as pdf's and now it is not working: if (!empty($_FILES['pdf_main']['name']) && ($_FILES['pdf_main']['type']!="application/pdf" || $_FILES['pdf_main']['type']!= "application/msword")){ echo '<p class="white">Please check the certificate uploaded. It should be a PDF … |
|
Hi I'd like to send one email to the registered user and a seperate email to the Administrator, with a separate body. I thought I could just duplicate the mail() but now neither email is being sent. Email 1 - Activation Email to the Registered User $to = "liz.banbury@gmail.com, ".$reg_email; … |
|
Hi I have an 'edit_profile' form. I'm having several issues with this form . There are some fields which are working fine and some aren't. This 1st issue is regarding the textarea fields When the user updates their profile, any field, the textarea adds characters which are bye<br /><br /><br … |
|
Hi My forgotpass.php function used to work. Suddenly it only works up until you get the message: 'An email has been sent to you with instructions on how to reset your password. <strong>(Mail will not send unless you have an smtp server running locally.)' However no email is sent. It … |
|
Hi How do I strip the </ br> from the database when a carriage return is entered into the text area by a user? I get something like this: hello<br /> <br /> hello<br /> <br /> hello In addition when using the php mail() function, the text area also … |
|
Hi Via the cpanel that my host provider has I can use PHPMyAdmin. This has the usual admin functions such as the ability to export the data from a specified table into Excel. My client needs to be be able to do this - but from the website. I have … |
|
Hi I have a website which is ready to launch apart from one of the key request forms which is not working properly and I just can't understand why. I click 'submit' and the form stays on the screen. I get the following message: ***Warning: Invalid argument supplied for foreach() … |
|
Hi I have a very strange issue with a page layout. I have created numerous pages based on a template layout that I created in CSS through Dreamweaver. All the pages look as they should in Chrome/Safari etc. All the pages EXCEPT 1 looks fine in IE. Please take a … |
|
Hi I have successfully engineered a login.php system, complete with logout.php, forgotpass.php and the associated functions which go with that. My users can log in and log out of the system and go to the pages directed to them without a problem. I was then asked to create a second … |
|
Hi I have 2 divs and would like the one with id="logo" to be directly on top of the div with id="bg shape" <div id="wrapper"> <div id="logo"><img src="meshomagic_logo.jpg" width="559" height="280" alt="meshomagic logo"></div> <div id="bg shape"><img src="images/logo_bg.png" width="1000" height="114"></div> </div> My CSS Styles are as such: #wrapper bg shape { position: … |
|
Hi I have the following email script, which is working fine except none of the carriage returns work and the entire message from all the fields just goes in one line without any spaces. I've tried to look up carriage returns and didn't find anything different from \r\n Any help … |
|
Hi I have the following script to upload an image to the server. Instead of the script producing a unique name for the image, I actually want to just replace one image with another..ie. overwrite an image which is already there, with another of the same name. I'm getting a … |
|
Hi I have the following web page: www.createtime4u.com/index - Copy.html Most of the page is now pretty responsive to changes in the desktop size (I haven't added any media queries for mobile etc yet) However I'm really stuck on this CSS slideshow. Most of the CSS for this slideshow I've … |
|
Hi I have the following basic CSS only webpage layout [www.createtime4u.kaiproductionservices.com/index.html](www.createtime4u.kaiproductionservices.com/index.html) which looks in-line cross Safari/IE browsers on a PC, but out of line on the ipad. Before I give out a ton of code has anyone got a good checklist of things I should be looking out for on … |
|
Hi I have the following prepared statement for an UPDATE query: However I'm getting the following error message: Fatal error: Call to a member function bind_param() on a non-object in /home/dreamsin/public_html/DEV/edit_condo_review.php on line 467 All my columns are correct and match up and exist and I've used this prepared statement … |
|
Hi I'm trying to re-do my code so that SELECT, INSERTS etc use prepared statements..... But I'm having a problem My original code which worked was: if (isset($_POST['submit1'])) { // Grab the profile data from the POST $condo_nm = mysqli_real_escape_string($dbc, trim($_POST['condo_nm'])); // Make sure a review doesn't already exist for … |
|
Hi I currently have URL's looking like this when it is coming from a link: http://www.dev.xxxxxxxxxxxxxxxxxxxxxxxx.com/findanagent_details.php?recordID=4 I would like to hide the fact that recordID=4 How can I do this? Many thanks |
|
Hi I have a single search field ' agent_name' in a form which is a dropdown field of data based on the concatonation of 2 fields: reg_fname and reg_lname When I do the SELECT Query though I'm getting a bit mixed up..... The data from reg_fname & reg_lname does not … |
|
Hi I'm still retrospectively trying to edit all my interactions with the database to be in prepared statements. I'm having an issue with my registration form, with the passing of my $password and $activationKey. The code is: // $stmnt1 = $dbc->stmt_init(); $query = "INSERT INTO xxxxxxxxxxxxxxx VALUES (?,?,?,?,NOW(),?,?,?,?,?,?,?,?,?,?,?,?,?,?,'$activationKey')"; $stmnt = … |
|
Hi I am a bit stuck on how to close a security issue. Basically if someone is looking at their profile and wants to edit it the URL will show the id of the user. Currently anyone can just change that number and have access to viewing and changing another … |
|
Hi I've read through the posting regarding 'actions on a link' but as my function is not in javascript I didn't want to confuse the conversation. I was wondering how/if it is possible to call a function from a text link, button, image etc via something like this: <?php if … |
|
Hi Does anyone know how to make this dynamic field 'sticky'. The code as it currently stands does not keep the chosen item showing in the field if there is an error in the form. It just default back to nothing Many thanks <select name="condo_nm" class="maintextnopad" id="condo_nm"> <?php do { … |
|
Hi I'm having problem getting what should be a simple INSERT using a preparared statement to work? Am I missing something? Many thanks require_once ('myaccess/dbc.php'); // $stmnt1 = $dbc->stmt_init(); if ($stmnt1 = $dbc -> prepare("INSERT INTO DEV_property_trades VALUES (?,?,?,?,?) ")) { $stmnt1->bind_param("sssss",$trade_name,$trade_number,$trade_email,$trade_list,$trade_details); $stmnt1->execute(); $stmnt1->close();Code blocks are created by indenting at … |
|
Many apologies if this is the wrong forum. I looked through all the different forums and wasn't sure. Please let me know and I'll transfer this to whichever the appropriate forum is. I use PHP/MySQL for my website and have been using DW CS5 for Site Management/Connections. I've been trying … |
|
Hi I'm having problems with putting an image - outofstock.gif into a table cell but only if prod_status == 'Sold' An empty image place holder shows - but without the actual image in it. Ideally I also wanted this whole table column to be a background to another table cell … |
|
Hi I have a php page, in which I would like users to be able to 'renew' a product by clicking on a button 'renew' There are no form fields to post though, as information is just shown to the user via a recordset. So basically they see their product … |
|
Hi I have a function which either updates or inserts a record into the database table, depending on what the user selects. However I need to manually refresh the page after the action has been done, as the status is not updating on the page. How can I force a … |
|
Hi I would like the following action to happen without having to have a 'submit' button. This would avoid users having to go from one page to a second page and the action could just happen on the first page by clicking on the word? How could it be done? … |
|
Hi When I load my renew.php page - the following warning appears. However when I click the 'renew' button in the page, the code below still works, but only when I click the 'renew' button twice. I can't find what is wrong with the code to cause the error message … |