39,323 Topics
| |
for experiment i pull data from mysql to xml to use in flash how can i add ahref to id in xml to achieve like this [url]http://www.kalitekolik.x10.mx/product.php?id=1[/url] [url]http://www.kalitekolik.x10.mx/PHP_MySQL_Flash_FINISHED.swf[/url] my database like this id/ product_name/ price/ details [CODE] <?PHP $link = mysql_connect("localhost","lafamosa_kermis","lafamosa1000"); mysql_select_db("lafamosa"); $query = 'SELECT * FROM products'; $results = … | |
i successfully sign-up,but i like to check the null entry in the form before other check.please healp. This Is My Sign-up From <form action="signup.php" method="post"> <label><b>User Name:</b></label><input type="text" name="login" /><br /> <label><b>Password :</b></label><input type="text" name="password" /><br /> <label><b>Confirm :<br/></label><input type="text" name="confirm" /><br /> <label><b>Email :</b></label><input type="text" name="email" /><br /> <label></label><b><input … | |
[ICODE]am trying to create a filter,but am geting no result with this,my data type in mysql is date.Any help pls?[/ICODE] [CODE] <?php $date = ""; $driver = ""; $vreg = ""; $desti = ""; $radiotype = $_REQUEST['find']; if ($radiotype == "") { echo"<p class='bodytxt'>N.B: You can filter by selecting any … | |
i get such a error:"Deprecated: Function eregi_replace() is deprecated " [CODE] <?php // let's initialize vars to be printed to page in the HTML section so our script does not return errors // they must be initialized in some server environments $errorMsg = ""; $firstname = ""; $lastname = ""; … | |
I am trying to integrate Authorize.net DPM into my PHP/smarty based shopping cart. It is proving to be quite a challenge. I am now getting this parse error. I get this error: Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/wopl/public_html/yamada/classes/gateways/authnet.class.php on line 119 which … | |
Hi all, I wanna open a MS word file placed on FTP , and then edit it (I wanna add text and table on the top of a file) such that it maintains it's entire content and formatting, and then save it to the other location on FTP. I have … | |
how can i print the search result using php??? sorry, i dont have any reference code and i dont know how to start the print process using php.... any help, please??? and thanks for your time... | |
ello.. i cannot display the video or audio that i already upload in database..why and how should i do?? | |
Hello everyone, I'm newbie and I need some helpful for my problem: [CODE] class pages { var $total_pages = NULL; var $scroll_pages = NULL; ... function page_link (...) { if ($this -> total_pages <= $this -> scroll_pages) { ... } } } [/CODE] Sorry I don't understand the code above … | |
I had created a php page but the server is so old that it doesnt support php. I want a page with a simple leftnav and I need to add a photogallery with thumbnails... anyone have any advice for me? Or maybe some good tools? | |
Hi guys, Happy New Year! I'm trying to setup a voting site where the button under the contest entry just says "Vote For Me" and my form will collect the data from that button and store it into MySQL. I'm having trouble naming that image/vote button so the form will … | |
Hey everyone! I have an issue with the my checkuser.php..which is my login check that redirects certain users to a certain page, due to if they logged in as an admin or a regular user..I have a test site on my local server that works fine when I log in … | |
Hi guys I used the joomla cms for web development. Actually i install the roknewsrotator module and use it for Persian language that it decode with UTF-8. i don't know why the News rotators module want to show some news in UTF-8 language, at the end of the sentences it … | |
In my web application I need to be able to allow the user to transfer files (word documents and pictures) from their computer to the server and I have been unable to google an answer. PHP, Apache and MySQL. The problem is mainly I am unsure how to compose the … | |
I am trying to create a soccer results matrix from an existing database (tables and current query are at the bottom of the post) and am not sure where to start with it. It is a bit hard to explain (unless you are a soccer fan where these results matrix's … | |
please take a look at my code, what i want to happen is this, 1st, i want to pass the ID of the selected student from the other page, which can be updated or removed in the process... which i can't , do it.. anyone can help me with this! … | |
As I don't know how many column for table So I only can write a stupid script when the value is not null. Then show the value Does anyone have a good idea for write a simple script to implement this request. [CODE]foreach ($pl_width_arr as $pl_width_arr[$pl]){ if ($pl_width_arr[$pl]['family_code'] == $family_code_eng) … | |
Hey, I have a question on fwrite. I know that fwrite can write things to your server, for instance, but when I put try to write C:\foo.txt, will this actually save it to my server, or to the clients computer? If not, then is there any way that I can … | |
hi, my $.post code returns a whole page i want to get only content inside a id from that . this is my code it alerts null. what's wrong with it..? [CODE] $(document).ready(function(){ var url_select_file = "index.php"; $.post(url_select_file, { component: "tinymce_details", action: "selecticondata" }, function(data){ //alert(data); alert($(data).find('#ContentPane').html()); } ); [/CODE] | |
I'm trying to make a simple login page to grant access to my form pages. I don't want anything fancy, just a simple name and password match to grant access. What I have grants access no matter what is typed in, and I don't understand why. Any help would be … | |
I have a function (myError) that causes a message to pop up whenever you do anything... either, confirming your actions "Email has been deleted!" or telling you that something didn't work "You don't have enough money for that item!" Problem is, I'm trying to re-design my layout, and the error … | |
| I am trying to code a comment system where I can leave comments on all pages. Every page has its own id. I would like a comment box where I can add and see other comments already posted. This is my code thus far: db table [CODE]`id` INT AUTO_INCREMENT, `page_id` … |
[ICODE]Hi there, Am trying to filter results from my db, when i select a value i get no result and no error.I feel its my sql query, this is my code and form. Or if any one have a simple script that can do the same,i will be grateful, thanks. … | |
hi, i'm working on this new system which give the option for the user to choose which system method his/her system will work on, eg: file system or database system. when installing the system they can choose the option file or database, assume that user chosed db system, later on … | |
i dont know, is it the right place to post this thread..pardon me if it is not Actually an working on the research project on the matlab and done with all the coding with logics and its working fine, now at the final stage i need to generate the output … | |
hi, when i insert date time into my database it insert server time not local time how can i change this? even i tried ; [CODE]$currntdate = date("F j, Y, g:i a");[/CODE] which didn't work either.. thanx in advance. | |
hey guys, does anybody has the sample of, how to insert smiley/icon in the message board (php or javascript) i have the simple one: [CODE]//character typed $typed_chars = array('X(', '8)', 'oO'); //to_be_replace $icon_set = array("<img src=\"../smiley/smiley 1/fire24.png\">", "<img src=\"../smiley/smiley 1/icon_cool24.png\">", "<img src=\"../smiley/smiley 1/startle24.png\">"); //convert $message = str_replace($typed_chars, $icon_set, $message);[/CODE] I … | |
Hi! Im new to php web development. I am developing an online shopping system where theres an admin page that allows him to add, edit, delete category and products. to cut the story short, what I want to know is, is it safe to save the table for admin username … | |
in my code the for loop syntax is not rigt can any one tell me[CODE]for($i=0; $i<$count; i++) { if($i==0) { $txt.="product:Licence_key"; } $txt.=$product[$i]." :".$plicense_key[$i]; }[/CODE] | |
[24-Dec-2011 04:05:07] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\inetpub\wwwroot\install\install.php on line 49 here is line's 48 thru 65 [CODE] 48 $content = "<?php \n". 49 " \n". 50 "/* Database Host Name */ \n". 51 "\$db_host = '" . $post_details['db_host'] . "'; \n". 52 " \n". 53 "/* … |
The End.