39,388 Topics
![]() | |
Here is my code for this page: phileaton.est-a-la-masion.com/Day Care/contact.htm <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <META NAME="description" CONTENT="Looking for an affordable daycare for your child? Are you worried that your precious one is not learning basic skills? If so, this … | |
Hello! This is my first post here, hehe. Seems to be a great site. Anyways, I'm quite new in PHP, but it's fun and I think I'm learning quite fast :) There's appeared a problem for me now though, and I can't see what the problem is...? I have made … | |
I am about to create a video upload function to a cms. But havent dealt with video and video player functionality before. So my question is what file extensions i should tjeck for under validation in the upload script? Are the a video player which is working in all browsers, … | |
today i was working on a php script that uploads the images and makes a thumbnails out of them.. well, i had the idea, i wrote the outline then i finished the script i had a couple of syntax errors and i fixed them,, but still there's some thing wrong … | |
Hello, i have this code to the insert: class test { function __construct() { $this->table = 'testtable'; } public function insert($values = array() ) { foreach ($values as $field => $v) { $data[] = ':' . $field; } $data = implode(',', $data); $fields = implode(',', array_keys($values)); $sql = " INSERT … | |
I am working on sessioning scripts however my cookies are not carrying over from page to page. I include the session script on every page which checks the $_COOKIE['session'] cookie, and if set, keeps the session data, if not, creates a guest session and sets a cookie with a new … | |
There's a lot of discusion of web services in the industry. Have any one used web services using php. I want to learn web services using php. | |
How can i create a php script that will search websites for articles that the contains are string? | |
Hello, i wanted to know what you guys use with PDO. Do you use ->fetchAll() or ->fetch() + while based on some reading i have done, it seems that PDO->fetchAll() is faster but uses more momory... | |
Hi, I have 6 radio buttons. When I select the radiobutton I need to get the value of the radiobuttons to a php variable. Please help me. I'm new to php. Thank you in advance | |
Hi, I used fpdf lib to print pdf. And I want my php class be integrate in fpdf? Can anyone help me? | |
HI, I have a doubt in multiple selection fetching data whil edit the page. output data stored in database as comma separated. | |
Here is the code for my form: <form action = "index.php" method="post"> <!--the form is being submitted to the same page--> <button class="btn" name="button" onClick="submit()">Yes</button> <button class="btn btn-primary active" name="button" onClick="submit()">No</button> </form> And on the top of my index.php I have the following: <?php $refresh = $_POST['button']; ?> When I … | |
I want to call a script page in php where the referral link is visible when you mouse over the image, something like this: http //mysite com/phpscript?d=www.site.com/thread/217.html (I don't know php incredibly well yet - so if that doesn't look right please let me know) And then based on whatever … | |
Hi all, I have code as follows, to fetch rows from mysql table. Table it fetches is given below. I want to access now each cell in the table, how do I do that? For e.g, I want to multiply Rank for the Job "transform Brand image by 82% and … | |
HI Guys; How to get the machine address using php | |
I send out a newsletter using a PHP based mailing list manager installed on my server, which uses phpmailer to send. For most users that I send to, they get the newsletter fine, but users who have email accounts with cox.net , windstream.net , roadrunner.com, rr.com , earthlink.net seem to … | |
Just got an entry level web developer position the city. It starts in 2 weeks. I would love some tips on how to effectively prepare. I'm an IT major not computer science, so my classes focused more on systems and databases rather than programming. I had a really good interview … | |
Here is my form.html <html> <head> <script type="text/javascript"> function ajax() { var aj; if(window.XMLHttpRequest) { aj = new XMLHttpRequest(); } else { aj = new ActiveXObject("Microsoft.XMLHTTP"); } aj.onreadystate = function() { if(aj.ready == 4) { document.getElementById("text").innerHTML = aj.responseText; } }; var param = document.forms["fo"]["text"].value; aj.open("GET", "try.php" , true); aj.send(); } … | |
Hi all, Hoping you can assist. I am probably starring at the darn thing but i cannot see the wood through the trees :) class headScript { public function connection() { try { $dbh = new PDO("mysql:host=localhost;dbname=xxx", 'xxx', 'xxx'); // Dev return $dbh; } catch(PDOException $e) { echo "Error :- … | |
hi guys, hope this is in the right place? basically im trying to find places to sell php scripts. ive found a couple, but they all want at least 30% of my sales which is ABSOLUTELY PATHETIC!!! id b upset at 10% but im prepared to pay that if the … | |
Can anyone reccommend any good books to learn php and mysql and how to build database driven websites. I have looked at a few but dont want to buy an outdated book! Thanks............ | |
hallo i am a dummy in PHP and i would really love to leran everything thereis about it. i need guidance o how to start and become a professional. i am requesing for anyone to guide me through and be my mentor through the exercise. i am readily available at … | |
Hello, I have got an error when i run this code.My query is updated but when I fetch the query then i got this error **mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\html-contact-form-captcha\update.php on line 44** please check the code is given below:- **** <!DOCTYPE html PUBLIC … | |
OK gang! I have another stumper! I want to add a variable to an array from within a function and I will not know the variables original name so how can I find this? For instance: [CODE] function AddVariable($vartoadd) { $varlist[] = $vartoadd; } $domain = http://www.dodatingsiteswork.com; AddVariable($domain); [/CODE] Once … | |
I have 2 table: 1 name is movie and another's name is screen. movie table contains fields like movie_id,movie_name etc. screen table contains fields like movie_id screen_id etc. I am going to add data in my screen table by user. So i want that if user enter the movie_id which … | |
The private messages inbox display nothing.Can't find the error.Can anyone help?????????? <?php session_start(); require("configure.php"); if (isset($_POST['view'])) { $query = mysql_query("SELECT * FROM messages WHERE to_user = '$to_user' AND deleted = 'no'")or die(mysql_error()); while($row2 = mysql_fetch_array($query)) { echo "<table border=1>"; echo "<tr><td>"; echo "Message ID#: "; echo $row2['id']; echo "</td></tr>"; echo … | |
I am a newbie to php. I am simply trying to validate input from a login page. However I am always getting a positive boolean value when username is entered or not. Following is my code for the login page; [ICODE]<form method = "post" action = "entering.php"> LOGIN <br /> … | |
Okay, so I would like to say in advance, thank you for the help. With that said, I am having an extraordinary amount of trouble with some code. So here it is: function school_user_exists($school_user = false, $school_id = false) { if($school_user || $school_id) { $school_user = sanitize($school_user); $school_id = (int)$school_id; … | |
pls someone should pls tell me what is api and how to start writing the program. thanks for ur assistance |
The End.