39,320 Topics
| |
I have been designing a security system to stop bots from spamming my forum. Basically, it will check if there is any isp name detected from the ip address then if there is no detected isp, the submitted post will not be made. I know to detect the ip address, … | |
---Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\Apache Group\Apache2\htdocs\Project\login.php on line 72---- <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" style="width:40%"> <br> <tr> <td>Username:</td> <td><input type="text" name="username"></td> </tr> <tr> <td>Password:</td> <td><input type="password" name="password"></td> </tr> … | |
As you wud have seen i am working on a search field, how do you select one displayed result and then use it for editing? how to dynamuically point the mouse at a result and then edit it through a form which is on another page called "Edit Details" | |
Hey, I'm creating a usersystem that has a profile system. I'm stuck on a problem. I want the profile to be viewed by a url like: [url]www.mysite.com/member/phillip/[/url] So every time someone registers it automatically creates this folder. The problem that I'm having is that I need to place an 'index.php' … | |
Can anyone tell me a site where I can find a program or pseudo code on basket analysis/data mining. Thanks | |
Hi All, Im looking for some help with php SOAP. Ive asked specifically in the soap area but to no avail so i thought that SOAP having good functionality with soap (apparently) id get better results here. How do i instigate SOAP? Is it like POST and GET? Im only … | |
hi all,,, i am begginner,,,, have to add paypal to my site but i have not done anything related to it. i saw paypal web site they are providing sdk with example but not getting it write.... how to achive this? guidance needed.... thankx in advance.... | |
Hi all - This is kicking my butt. I have searched everywhere I can think of and have tried the various solutions to no avail. First I am connecting to two databases on the same instance of mySQL using : [code=php] $conn2 = mysql_connect ( "XXX.XX.XX.13", "User1", "PWord1",true) or die("Could … | |
I am getting this parse error: [CODE]Parse error: syntax error, unexpected ';', expecting ')' in /home/freemone/public_html/dofollow-blogs/compiled/arfooo_template/en/c_1_info_whatisdofollow_tpl.php on line 11[/CODE] And here is the code that somehow contian the error: [CODE]<?php echo $this->_fetch_compile_include("includes/header.tpl", array('title' => $this->trigger_error("'lang' modifier does not exist", E_USER_NOTICE, __FILE__, __LINE__);)); ?>"}[/CODE] Can anyone see whats wrong? | |
I have 2 fields in my db, the first is Title and the other StopList. If a StopList word appears in any of the Title names, I want to flag that item for deletion. Currently using a PHP array to do this but wanted to know if mysql could do … | |
hi, all friends i need PAYPAL INTEGRATION USING API Toturial.. | |
Hi I tryed this code as it is and I have just modifyed the connexion parameters but it does'nt work correctly. each time I get the same resul and there is no modification in my database. Could anyone help me please Thnx a lot [QUOTE=R0bb0b;649062]Try this [CODE=php] <strong>Update multiple rows … | |
I am trying to create a sidebar menu which when categories are clicked, they expand and show items under each category. My website is structured so that an index.php is used to include 3 other php files: header, body and footer. The body is a php file that changes based … | |
Hi all, Im working on a project at work and i need to process data with SOAP. Im fine with PHP but brand new to soap. The process im to follow is: 1. I recieve a message from a 3rd party system. 2. I call "userinfo" from that 3rd party … | |
how can i give values in between the start and end date? start is from field check_in and end is from check_out because when i query between check in and check out the value = 0 like if i do this .. the save date is for example customer 1 … | |
Hello, i'am newbie. I don't know about programming language,in each language, i only know "hello world". Javascript is spend more expensive bandhwidth. Especially for Limited Account of hosting. Is it possible to convert javascript to php or html ??? | |
I have Webpage written using PHP that displays drop down data from MySQL tables. I want my page to refresh and appeared new entry list in drop down list, after new records are entered to the database.I want auto refresh but when submit the form only. | |
i have a piece of code that finds the sum of the credits of the courses that were chosen in the multiple drop down list. my code works fine when there is a value that was selected and i can easily assign the variable to the session variable. however i … | |
Hi and I have a mysql table that gets a few million records inserted per day and it seems to get corrupted very often. The current database structure is myisam but it keeps on getting corrupted. Are there any mysql data structures that won't corrupt even when restarting the mysql … | |
---Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\Apache Group\Apache2\htdocs\Project\login.php on line 71----- [code] <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" style="width:40%"> <br> <tr> <td>Username:</td> <td><input type="text" name="username"></td> </tr> <tr> <td>Password:</td> <td><input type="password" name="password"></td> … | |
I need to display all the comments from the comments database table where the $msg_id_fk = $msg_id from the messages table and I need it in a while loop [CODE] $comment_results = mysql_query("SELECT * FROM comments WHERE msg_id_fk='$msg_id' ORDER BY com_id ASC"); while ($row = mysql_fetch_array($comment_results)){ $msg_id_fk=$row['msg_id_fk']; $comment=$row['comment']; } $message_results … | |
Hi I am looking for a php code formatter that has to has two features: formatting arrays, so an array like this: [CODE]array ('key_of_first_value' => 'value','another_key' => 'value1', 'test_key' => 'value2');[/CODE] to this (note that the sign => is aligned among all array elements): [CODE]array ( 'key_of_first_value' => 'value', 'another_key' … | |
I need to retrieve the records which are between the selected days(TWO dates are of two different fields in DB) i tried this in php and its working [CODE]SELECT * FROM guest_info where check_in = '$check_in' and check_out= '$check_out'; [/CODE] but when i insert "between" noting happens [CODE]SELECT * FROM … | |
Hi I spent the morning hacking together the basic components of my own MVC framework, which currently only parses a url, loads the class and calls the right method... Because I obviously dont want someone to be able to access the 'add/remove' methods associated with future classes, i need to … | |
Hi Is it possible to execute normal php code under zend framework php. As far as i have heard php is a MVC model style coding. But i have not done MVC programming in php. I have an appplication where i need small modification. I have done some programming in … | |
I am trying to collect data from a form, store that data in mysql database, and send the info in an html mail (so the info looks "pretty"). I have everything working except for the HTML mail. I have read numerous things and tried numerous things, but so far, noting … | |
Hello, it's my first post and I'm not sure if is the right place. I want to integrate some contact form into my website, but every page I have diferent email address and ID, 2 or 3 page it's ok, I can do manually, but it will be hundreds of … | |
By using the code seen below I am trying to produce a dynamic form. When the user selects an item for the product drop down menu I would like the product's barcode number to appear in the barcode box, I have been informed that this can be done using Javascript, … | |
Hi ... I am a total php newbie. As clients move about my site they may cause entries in a temporary sql table that includes a field for their session id. If they leave the site by logging out properly, the rows in the table associated with their session are … | |
Fatal error: Call to undefined function write_log() in /home/poetryba/public_html/install/inc/class.sql_import.php on line 105 here is my code <?php class Sql2Db { private $sql_file_name = ''; private $debug = ''; public $debug_filename = 'vshare_upgrade'; function Sql2Db($sql_file_name, $debug = 0) { $this->sql_file_name = $sql_file_name; $this->debug = $debug; } function import() { $comment = … |
The End.