39,320 Topics
| |
Hi, I have a form to upload images one at a time with text to a mysql database table, but I need to resize these images before adding them to the table, I want to retain aspect ratio and I need it to always resize the longest side of the … | |
Hello Folks! New to Daniweb and programming in general! I've seen a couple other posts on this issue, but I wasn't able to sort it out with those suggestions. I'm getting the error mentioned in the subject, and I suspect it's something to do with my INSERTS/VALUES, but this is … | |
I have the following table structure of my db: * tbl_project * tbl_employee * tbl_deliverable * user_to_deliverable as tbl_prjct and tbl_deliverable has 1-many relation, tbl_employee and tbl_deliverable have many-many relation so they are splited into user_to_deliverable table All i want is that a query to show project_name(from tbl_project), project's deliverables … | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name = "description" content = "Wellington Real Estate"/> <meta name = "keywords" content = "home, housing, Karori, Mirimar, Te Aro, Thorndon, Farcourts, Jonnys, Relax"/> <title> Agents </title> <link rel = "stylesheet" type = "text/css" href = "assessment.css"/> </head> … | |
Hello, I am trying to install apache xampp. Get this error? #1146 - Table 'phpmyadmin.pma_recent' doesn't exist Why is it? Thanks. | |
Hello, I want to upload only two word documents for all no. of records available in the table. So is it possible to make a query for uploading to run in mysql for all records at only one time? OR is it possible to make a script in php? I … | |
I am having some issues with some code i am trying to use. Can you please take a look at the code and give me some fixes to this. The error i am getting is this: Warning: Wrong parameter count for mysql_fetch_assoc() in /home/content/33/5271833/html/cfr_forms/edit.php on line 10. What i am … | |
I will give an example of what I have so far but, most parts will be left out for simplicity sake: pt1) <?php echo "<img src='$path' width='400' height='400' alt="; ob_start(); echo "'$name'"; ob_end_clean(); echo "/>"; } ?> pt2) A couple of lines down from this is (where i want to … | |
Greetings all, I have a noob php question i need answering if possible.. I simply want to save what ever is typed into the form field for when the page is reloaded to show again. I know it needs a new session started but im confused alot about what needs … | |
Hello All, I am creating a nagios that will automatically login to my website and display result in Nagios. Currenlty I am able to login using script but my PHP Curl script return full HTML code after login thourgh curl. here is my script. <?php $id = "username"; $pw = … | |
Hi every one. i am facing issue regarding displaying Product by category wise. i have two table 1st, product category and 2nd product details. i have foriegn in second table. i am attaching three file 1st template so you can undersatnd what i am tring to do and other files … | |
I am trying to submit to a newsoap service and keep recieving the following error *HTTP/1.1 400 Bad Request Cache-Control: private Transfer-Encoding: chunked Content-Type: text/html Server: Microsoft-IIS/7.5 X-Powered-By: ASP.NET Date: Mon, 03 Sep 2012 10:09:41 GMT* Function I have written looks like the following ($post_xml is shown below and $url … | |
I am trying to pass the values of an array from one PHP page to another but I am not having any luck. I need someone to tell me what I am doing wrong or if there is a bettter way. Here is my code snippet for page one: <?php … | |
Hello, How can we reshuffle the data from database represent in table form? I want to reshuffle the data of table it means we can up and down that data for e.g if I want to that data in first row from last row then I want to drag the … | |
how can i parse <tag attr="z"> <tag attr="y"> <tag attr="x"></tag> </tag> </tag> to <tag attr="z"> [tag=y] <tag attr="x"></tag> [/tag] </tag> Without using extensions ... THANKS ALLOT :) | |
HEllo Friends, I am workng on online application which my clients will use on monthly bases. I have already purchase cloud server. I will also provide hostng services as well But i am confused at one point. Lets suppose 100 uses have registered and apply for my application. So do … | |
Hello, I'm starting to delve into the world of Web Development after failing to design websites at a good standard. I've had a look through the forums but I haven't found a specific answer(s) to my key problems. So if you don't mind, I will list all of my questions/dilemmas … | |
Hello everyone. I need some help with a SELECT FROM WHERE query. Let's say I have a row named A and another row named B, and I want to select the eventual cases where values from these two rows, somewhere, match eachother. In this case, you can see, that the … | |
hello everyone, what is the way to replace Spaces With + icon using PHP. Suppose some text like "I Love PHP" will automatically converted like this way "I+Love+PHP" .. assuming a field has this text in a variable like> `$text = I Love PHP` so this variables text spaces will … | |
I have a .htaccess file. I have two RewriteRule's that do the same thing. This one works perfectly, and can handle a huge query: RewriteRule ^p/(.*)(/?)$ index.php?p=$1 [QSA,L] This one will only handle a query up to 255 characters. RewriteRule ^(.*)(/?)$ index.php?p=$1 [QSA,L] How do I fix this, and make … | |
i want to use the sms service in my project.. can some body tell me that how can we send message to mobile through php ..?? | |
How to make Month and Celebrants change its color to yellow? Thank You echo date('M'). " ". ('Celebrants'); | |
I just installed WAMP server on my system. When I am accessing my webpage from my system by giving http://localhost and http://10.10.62.6 is accessible. But when someone has tried to attempt my page from their system by giving http://10.10.62.6 is not accessible. What changes will offer them to access my … | |
I am saving a record to database. When there is an error in saving a pop up window will show. However a popup window shows in another page. I want the popup window shows on the current page. echo "<script type='text/javascript'>alert(\"Error saving record(s). Please Try Again!\")</script>"; I try this one … | |
<html> <head> </head> <body> <table border='1'> <tr> <th>Agent_ID</th> <th>Address</th> <th>Bedrooms</th> <th>Price</th> <?php $connect=mysql_connect("localhost","root",""); mysql_select_db("ong_assesment',$connect); $query = mysql_query (SELECT Agent_ID,Address/Suburb,Bedrooms/Bathrooms,Price FROM suburbs); { echo '<tr>'; echo '<td>'. $row[Agent_ID].'</td>'; echo '<td>'. $row[Address].'</td>'; echo '<td>'. $row[Bedrooms].'</td>'; echo '<td>'. $row[Price].'</td>'; echo '</table>' mysql_close(); } ?php> </body> </html> | |
Hello. I have this below SimpleXMLElement Object ( [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => plid_2 [name] => Playlist [ro] => ro ) [content] => SimpleXMLElement Object ( [name] => Playlist ) [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] … | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name = "description" content = "Wellington Real Estate"/> <meta name = "keywords" content = "home, housing, Karori, Mirimar, Te Aro, Thorndon, Farcourts, Jonnys, Relax"/> <title> Agents </title> <link rel = "stylesheet" type = "text/css" href = "assessment.css"/> </head> … | |
I have resorted to everything I can think of and I can't get a PHP variable to go into a form that is onclicked with a Javascript Function... Here is my attempts thus far: 1. Give the div that contains the onclick function the php variable as an id, and … | |
I would like to split a txt file that i use as a log in a comment system after each 10 comments how can i do that? Here is my code, Sorry for the bad indentation: <?php $act = $_POST['act']; if ($act == "post") { $name = $_POST['name']; $area = … | |
hello, im tyring to change script from another page. i would like to change (a > true) to false and back if need be. As a dropdown or radio selection, maybe using variables but everything i have tried i have no luck. <?php if (a > true ) print "a … |
The End.