39,323 Topics
| |
I am using php 5.1 version and in dom module domxml is enabled. I am generating xml with php and i checked it generates correct xml. But when I use if( !$dom = domxml_open_mem() ) { // } then i got the following error: Fatal error Call to undefined function … | |
Hi frnds.... i have a colmn in database like [B]CONTENT[/B] ..it contains 20 lines of of data....but i need to select only 5 lines of data to a single variable...... plz tell me how can i do? | |
please tell me the algorithm serveruptime.com and how ping and get ping result in php [url]http://www.kampanye-damai-pemilu-indonesia2009.comyr.com[/url] | |
hey, kind of a noob to php. need help with line 17. this is a form email script. this is what i get when i submit. Parse error: syntax error, unexpected T_STRING in /home/a8407233/public_html/sendmail.php on line 17 this is line 17 if (mail ( "apcorpinc123@gmail.com", "From: $email", "Feedback Form Results", … | |
Guys, I need some help. I installed a mod on oscmax for updated product attributes. It works fine, BUT now the products in my site won't pull up. Everything looks fine on the site until you actually click on a product, then you get. Warning:mysql_fetch_array(): supplied argument is not a … | |
Hi frnds.... i am inserting bulk data into database...here i phase small problem...when the data having (') single quotes it shows error...because php takes ' as many ways..... i think htmlentites() tag is there in php...i dont know how it uses perfectlyy... plz resolve this problem asap.. | |
Hi Could anyone help me with this problem, I am trying to use php to insert user record into table (tblusers) using mysql command but I do get this error (Parse error: parse error, unexpected ';' in register.php on line 30 ) I don’t know what is wrong with it … | |
Hi guys, I am building a draggable list application using scriptaculous and have run into a bit of a wall! I have got it working to create a sortable draggable list from 1 input but cant seem to work out how to pass 2 inputs into my DB, I think … | |
OK, basically I want to check the DB against the elearningid... if the elearningid startdate and enddate are valid, continue, else redirect to expired.php... EXAMPLE: [code] <?php function TimeBomb() { rs = sql.Execute(" SELECT * FROM elearning WHERE elearningid=@elearningid AND GetDate() BETWEEN startdate AND enddate "); if (rs.RowCount > 0) … | |
Hello again I have a problem. I was following tutorials and I came up with some code to register for the game witch I have no problem doing, but it is sending email conformation. Here is my code. The problem is I dont get the email and when I submit … | |
Dear friends, Kindly look into this code below for me. I intend to use it to send my form data(not validated) to an email address. After I filled the form and running the code, it is the else echo statement ("Form not properly completed") that i keep recieving. However, I … | |
I've written a really basic login page, yet I keep getting a Parse Error message on line 36! Which happens to be the very last line of the whole code! Any suggestions on how I can get this to would be greatly appreciated! [code] <?php $page_title = 'Login'; if (isset($_POST['library'])) … | |
Hello everyone. I'm a new member here at DaniWeb, but have learned a lot about PHP from these forums in the past. I'm pretty new to PHP and am having a problem with meeting a customer's request. I'm making a job logging/tracking system for a clothing company. Basically I have … | |
Hi All, I'm using XAMMP server in USB stick and have Web project in this structure: [COLOR="Red"]F:\xampplite\htdocs\projects\Elijah[/COLOR] So my current working DIR is elijah. However, I don't want to write the long path "../projects/elijah/elijah.css" when linking css file or using images. I would like to use something like a function … | |
I really wish I had someone to work on this project in person, it's not like this is something I would really like to share with everyone. It's a brain scheme that I found with PHP. I would like to keep it a Top-Secret Platform OS. | |
I have an image gallery that generates album and image URLs each time an album and/or image is added. The generated album URLs are like this: [B]index.php?page=list-image&album=1 index.php?page=list-image&album=40[/B] In one of my SQL tables I have an Album Name row as `al_name` I want URLs like [B]index.php?page=list-image&album=1[/B] to be rewritten … | |
Hi, I am new to this forum and PHP. I am looking for a recommendation on a PHP IDE. I do not want to spend too much money. I am a former Java and Microsoft developer (Java, C#.NET, ASP, JavaScript, HTML, SQL Server). It has been some years since I … | |
Hello Friends... Now Im working on URL Rewriting... I got them worked..But i have few doubts about this concept... Any Experts will reply me here.. My leftproducts.php page have some times s_id query string and some times along with s_id , start query string also.. means sometimes: [code] www.something.com/leftproducts.php?s_id=1 [/code] … | |
Hi I am trying to set up remote access to mysql on a headless server. From what I have read this can be done by installing phpmyadmin on the client pc. Is this all I need? I have changed the entry in my.cnf "bind = localhost" to "bind = ipofserver". … | |
which is the function that outputs a GD image stream (im) in BMP format to standard output like imagepng(),imagejpeg(),imagegif()? | |
hi this is what i'm making [url]www.gojyotish.com[/url] go here and enter username="nagz" pass="nagz" the problem you'll see is that after submitting the information the page will return bak as it was, nothing wd be notified regarding the success of the login. But if you just refresh the page, you will … | |
I am using the httprequest class in one of my applications to request a cross domain page. Basically I needed to inlcude two pages based on thge logged in state of the user, via cross domain ajax request. Due to security issues this is not allowed. So what I did … | |
What I'd like to do is store the "selected" value of the drop down box in a DB. At the moment the selected value for the drop down list is pulled from the DB. Now what I want to happen is if I don't want to change that specific option … | |
Im trying to delete records. Most delete ok but some don't and Im completly lost as to why... The information Im storing are just URLs. Could it be to do with some irregular characters within these URLs? Is there a recomended way to store a URL? Please help me out. … | |
Hi all! I've been working on the validation for my web site, and I am currently trying to write a script so that if I have the following usernames in the username column of my MySQL table entitled "members": -Jeff -Pete -Bob That no one who is registering a name … | |
please check it out [url]www.gojyotish.com[/url] i use a gif background....its not appearing a it should in chrome, just see the difference in appearance in firefox..... | |
Hello, I am new to php and enjoy the fact that it is very similar to languages that I'm much stronger with (mainly C++ and Java). While working through the w3 school's tutorials I noticed a foreach() loop. What loop in C++/Java would this be similar to? It seems like … | |
Hi I must now seek help after too many hours of failure. I'm using a basic form with Ajax (prettyPopin), but the form is not connecting to the database. I'm obviously overlooking something. Here is the basic form: retailer.html [CODE] <h3>Retailer Contact</h3> <form name="ajaxForm" action="ajax/form_submit.php" method="post" class="genericForm"> <label><span>* Full name</span> … | |
For instance, I have the following string: table:column I need to get "table" as the result of the php regular expression. So, I need everything before the ":" symbol After that regular expression is performed, I would also like to get everything after the ":" symbol, or "column" as well. | |
Can anyone see anything wrong with this. Im stuck :( [code=php] $sql1 = mysql_query("DELETE FROM spider WHERE url='$addtolist'"); if (!mysql_query($sql1,$con)) { die('Error Deleting: ' . mysql_error()); } echo "Record Deleted <br />"; $sql2="INSERT INTO list (title, url, description) VALUES ('$title','$url','$description')"; if (!mysql_query($sql2,$con)) { die('Error Adding: ' . mysql_error()); } echo … |
The End.