86 Posted Topics
Move this from JavaScript / DHTML / AJAX Good Day everyone i'm having a hardtime figuring out how to make this certain idea of mine to work basically im trying to capture the checkbox value and its label but im not getting anyluck..and also im having problem explaning what im … | |
Re: Hi you can use google charts its easy to integrate to your php and mysql script as mmc told you need javascript to accomplish it although you can also use plane php to achieved it but i will not really recommend it.. | |
Good Day everyone i'm having a hardtime figuring out how to make this certain idea of mine to work basically im trying to capture the checkbox value and its label but im not getting anyluck..and also im having problem explaning what im trying to do so i decided to attached … | |
Good Day everyone im having trouble in script right now basically im trying to make an if statement that will assign rate base on the destination, branch ,service and vehicle. which is working fine just a moment ago but when i add another array for another destination it seems that … | |
Good Day Everone Just wanna ask for a suggestion if it is possible to Save data in DB and at the same time Print the form when the submit button is clicked? and if possible how can i obtain it? Here's what ive tried form.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
Re: hi just add another variable on the js which contain the php variable like this <?php $meat="cow"; ?> <script type="text/javascript"> var meat="<?php echo $meat; ?>"; document.write(meat); </script> | |
Hey Everyone Im having a lil trouble rightnow making this script work. What im trying to do is make a script that will change the bgcolor color to red if the Serving time is less than or equal to 1 hr left which is working now but in the long … | |
Hi Guys wanna ask some assistance/ help I'm making something like notification with jquery and php and its working fine now the only problem that i encounter is on the notification its only show one data repeatedly its not showing the other data that supposed to be showed Here's my … | |
Re: you should put first the form inside a div and add a javascript to print only the object inside the div you can search google or other search engine to give you some ideas on how to do it.. | |
Re: i dont get what you're saying..if you just wanna retain the value of the textfield after submittion you just need to put in the textfield value like value="<?php echo "$tS"; ?>" like this <input type="text" name="tString1" value="<?php echo"$ts"; ?>"/> | |
Hi to all just wanna ask how to achieve something like on show all data if a certain field on the table is equal to **2**. basically what im trying to make is a search form by the way the searching part is working it just that its showing all … | |
Hi need some help suggestion I am trying to search data form two date range but it seems not working properly when i search for $from_date = "2013-04-01"; $to_date = "2013-04-04"; $query = mysql_query("SELECT * FROM date WHERE Date between '" . $from_date . "' AND '" . $to_date . … | |
Hi to all i just cant get the grasp of what im trying to do basically i'm making a script that will higlight a certain **data(Date /time)** in my table if data < 3 min of current time.. ex $data="March 12, 2013, 16:18"; $current_time="March 12, 2013, 16:20" if($data< 3min of … | |
Re: are you using [xampp](http://www.apachefriends.org/en/xampp-windows.html) ,[lamp](http://sourceforge.net/projects/lampas/) or [wamp](http://www.wampserver.com/en/)?if yes is the apache and mysql running? | |
Re: Hi well base on your insert statement found nothing wrong with it aside form your not filtering the data that you are posting which is not safe ... well the only thing i found that out of place is ; on line 28 also i prefered doing it this way … | |
Re: Hi double check this part * "" -make sure it has a opening and closing * ; - make sure you put it at the end of your variable and at the end of every echo | |
Re: you have an error in your insert statement try removing this part `'',` before this `'$_POST[fname]',`at the beginning of your statement | |
Re: > sorry but I don't get what does require_once("../includes/config.php");and require_once("../includes/dbconnect.php"); does. before what I learn is really basic. What is requires inside this includes? to answer your question require_once is just the info of your database and server connection which is in your code the **$conn = mysql_connect("localhost", "root", "") … | |
Hi to All Just wondering how cn i achieve something like this example i select **January** for the first list menu and select **2013** for the second one now what im trying to achieve here is how to show all the data for the said month and year without submitting … ![]() | |
hi fellas out thiere im having a headache right now in sending email with attachment..im using ftp in storing the file in my dirctory and sending it to my email...i can upload the file and send it but the prolem is when i try to dowload the file from the … | |
Hi All Just have a question I'm having difficulties in displaying my data in Desc..cant find where i need to put the DESC in my query this is the code function.php <?php function pagination($query, $per_page = 10,$page = 1, $url = '?'){ $query = "SELECT COUNT(*) as `timestamp` FROM {$query}"; … | |
Hi guys need some extra help/eye here to point out what am i doing wrong basically i want to display the data from mydbase.by the way the purpose of this page is for posting article anyway what im trying to do is put a Next and previous navigation bar but … | |
Re: hey i think this part of the code is wrong `<form action="index.php" method="post">` you must replace it with `<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">` | |
Hi need some assistance here im having an error connecting my database to the server online,the thing is it is working fine in localhost but when i uploaded it just wont work.. i already change the necessary string to match the server configuration online from config.php this is in the … | |
Hi im having a nerve wrecking problem with my script, i'm trying to make a form validation that when a field is empty it will prompt a message that needs fo fill up the missing fields..and i made it already the problem is when i put a separate script for … | |
Re: try changing this $sql = "insert into products (PU_NUMBER, PU_DESC, UNIT_ASS) VALUES('$_POST[pu_number_products]', '$_POST[pu_description_products]', '$_POST[unit_ass_products]')"; with this $sql = "INSERT INTO products (PU_NUMBER, PU_DESC, UNIT_ASS) VALUES('".$_POST[pu_number_products]."', '".$_POST[pu_description_products]."', '".$_POST[unit_ass_products]."')"; | |
Re: you can also use UNION but as broj1 said without knowing the structure of your table its hard to tell..geez i just repeat what broj1 said..anyway you can use either of this.. ![]() | |
Re: try something like this.. echo "<td><a href=delete.php?user_id=$row[user_id] onclick=return confirm('Do you want to delete?')> DELETE</a></td>"; not hundred percent sure..i just get it on top of my head..nothing wrong with trying:D ![]() | |
hi i have a little bit of issue just thingking if somebody can give me a hand out here.. the issue is when i compute for a car rate..it will depend on the date of rental and the return date,which is already coverd the problem is it will not really … | |
hi im having an error with my code can anyone help me try to fix my problem the error is Fatal error: Call to a member function diff() on a non-object in C:\xampp\htdocs\msicfinal\samp.php on line 12 and my code is <?php /*These look like they are sent via form submit … | |
hi need a hand here.. im having trouble in making my code work(well actually im not getting it)what i need to do is to compute the rate of vehicle that is rented..the only thing that i came up is with the **perday rate** and the other 2 i cant find … | |
hi anybody can help me analyze this code..im not getting the correct output.. if(($origin=="NAIA 1" && $vehicle=="Small Car" && $zone=="Paranaque 2") && ($destination=="BACLARAN" || $destination=="SAN DIONISIO" || $destination=="BICUTAN INTERCHANGE" || $destination=="MULTINATIONAL VILLAGE" || $destination=="MOONWALK" || $destination=="SM SUCAT" || $destination=="DON BOSCO" || $destination=="SUN VALLEY" || $destination=="BETTER LIVING" || $destination=="MERVILLE" || $destination=="MARCELO … | |
guys i'm having a really big problem right now..im trying to make a conditional statement using php but im having an logical error or syntax error..im trying to compute for the car rate but im not getting a correct output e.g i have a list of car which are "Small … | |
hi i'm just wondering on how can i make all the type text in my textbox all uppercase using php? tnx Alot.. | |
**Hi guys** I’m new to this site and i really need a professional help out here. I am trying to make a search form in my page and basically i can search my database already but i need to revised the code because the process of my **search form depends … |
The End.