39,323 Topics
| |
| Dear All, I'm developing a website which must have a link to an oracle database. does anyone knows how to configure OCI on a linux server. Thanks and Best Regards Dilbert137 |
Hello, I was going to post the full script but don't think it will ne needed. Basically i have this query: [CODE]// query db $query = mysql_query("SELECT * FROM `userinformation` WHERE `username` LIKE '%$search%' OR `email` LIKE '%$search%' OR `id` LIKE '%$search%' OR `first_name` LIKE '%$search%' OR `last_name` LIKE '%$search%' … | |
| Hi folks, I'm having a real "Dime Bar" moment! :-/ I have written a small function to display error messages. I can't work out why I have to use a preceeding slash to include my footer.php but not my header.php when they are both in the same directory. [CODE=php] function … |
Hi all I'd like to know how/if you can pause a loop for a few seconds and let it start again from where it stopped. | |
i am trying to use the explode function to take a variable as the string under consideratiom but its not working. can some one help me on this one please?? thanks [code] <?php $hostname = "localhost"; $username = "root"; $password = "hayden"; $database = "ecng3020"; $con = mysql_connect("$hostname","$username","$password"); if (!$con) … | |
hello all,,,, i want suggestion is it be possible to create a samll shopping cart system with only php session no database no txt file for storing values....? thnx in adve. | |
i want to convert hexa to string in php... i google and and got this function... [code=php] function hexToStr($hex) { $string=''; for ($i=0; $i < strlen($hex)-1; $i+=2) { $string .= chr(hexdec($hex[$i].$hex[$i+1])); } return $string; } [/code] it works but not in case of " 062E063506450020003500300030002E0030003000300020004B005700440020064506460020062D06330627062800200032003500380038062706440645062A06280642064A00200031002C003400320031002E0036003100320020004B005700440020062706440645062A06480641063100200031002C003400320031002E0036003100320020004B00570044 " kingly guide me little … | |
i am getting this error but i think there is no error. any one look at this [CODE]$affiliateForm = array( "username"=>array("User Name","text",""), "password"=>array("Password","password",""), "site"=>array("Your Web Site","text","http://"), "email"=>array("Your Email","text","yourname@yoursite.com"), "akey"=>array("","hidden",""), "ptype"=>array("Payment Method","select","check|paypal"), "pemail"=>array("Paypal Email","text",""), "address"=>array("Your Address","textarea","") );[/CODE] i am getting [B]Parse error: parse error, unexpected '=', expecting ')' [/B] on this … | |
Hi, I'm using FPDI and TCPDF to generate on-the-fly PDF documents, using existing PDFs as templates. So far so good. What I really need is the ability to create a 2-column layout, as per the FPDF tutorial here: [URL="http://www.fpdf.org/en/tutorial/tuto4.htm"]http://www.fpdf.org/en/tutorial/tuto4.htm[/URL]. Normally FPDF works fine, but I need to combine this layout … | |
I have a small problem I'm thinking.. I have a form that lists items and next to each item there is a input text field for the user to choose the quantity of each item they wish to order.. When the form is run through it spits out this array: … | |
i just want to know, how can i put a live bar graph in a dynamic page? thanks in advance ^^ | |
| Hi all, I'm having a problem getting a cron job to execute properly. I'm using my hosting control panel to set the task up and execute a script. What I want the script to be able to do is search for jobs that were posted over 7 days ago, loop … |
Hi I am currently working on a web site which I had to modify to add the option of either using pounds or euros forthe pricing. I have two image input types which onclick I want to set the session variable $_SESSION['currency'] to GBP or EURO, and then refresh the … | |
Hi everybody, would you please tell me what's wrong with this code that generates the following error: Warning: fopen(C:\Documents and Settings\Sando\Desktop\boys.gif) [function.fopen]: failed to open stream: No such file or directory in /home/domain/public_html/webs/divisions/chek.php on line 108 [B]data inserted without any picture[/B] although it works fine and great @ localhost MySQL … | |
Need help with my registration code for my site. Read through it if you may and tell me if there are any errors. (And where do I place this in the page?) [CODE]<?php // Connects to your Database mysql_connect("database.accdb", "", "") or die(mysql_error()); mysql_select_db("users") or die(mysql_error()); //This code runs if … | |
ok so just ran into a problem using tinyint instead of int i have hit the 127 max. but i did not realize that on time and now i have about 100 entries that i need to fix with a loop to do an increment of a counter this is … | |
ok so what i want to beable to do is have a coded up website template (with php in it) that is stored in the DB. and i would like to call it in a query. That part works fine but what doesnt work is the php being called from … | |
I have a php script that sends the contents of a form via email. I have some error checking in the script to make sure that the required fields are filled out. Right now, if there's an error, it just displays an error, with what's missing on a simple html … | |
Hello to everyone, I'm new here - Great forum. I would like to update an entire database at once. I use Mysql database and PhP scripts. I explain : I have to update prices in one column of the DB by puting +10% This is what I have but it … | |
Hi, I've seen so many sites that have [url]www.domain.com/downloads?420[/url] or ?222 and so on. I am in the middle of making a upload script but i also want it to add a link to the downloads page to the file. Im not sure how this should be done and i … | |
HI all, I am trying to display user (ad displayname) welcome message on my web site but I am not sure how to achieve it. I found somthing online but that doesn't make any sence to me as I dont have nay value of $user_ID in the below code, [CODE]< … | |
Hi, I created a script which I use to clean my database from missing entries. With it I both check if a file on the server is missing a database entry and if a database entry exist with no corresponding file on the server. The user first submits a form … | |
User fills out a web form containing about a dozen or so combo boxes. As each comboBox has its options filled from values contained in a database, this limits what the user can input. However, as we know this can be bypassed, hence the need for validation even on a … | |
hi frnds, here i m using AJAX code for posting variables..when i submit the form , then the GET variables are taking like this.. [QUOTE]hi%20h%20r%20i[/QUOTE].. how can i solve this problem.. plz go through the code.. [CODE] //javascript code... function get(obj) { var poststr = "name=" +escape(encodeURI( document.getElementById("name").value )) + … | |
Hi everyone, i was wondering if you could help me out, i'm working on a project where the user can login from any part of the site and a function is called when the button is clicked. The problem is if the user for example is on this url [url]http://localhost/profile.php?id=12[/url] … | |
This one is a messaging system! Made it myself, works great! Hopes you like :) | |
I wrote a simple code in java script and it is working fine with IE and not in Firefox but the out put in php array count is correct in IE but not correct in Firefox[code]I wrote a simple code in java script and it is working fine with IE … | |
Im in the middle of making a filesharing site but would like more people to join the team and advertise it! And of course build it :) Who will help? Im on all day and i will be checking for new posts every 5 mins :) | |
I'm attempting to write a script that logs into a web site, navigates through some links, stores some data to a text file, and logs out. I was able to log on with ease, using WWW::Mechanize. However I'm having trouble navigating through the actual website, because instead of just a … | |
[CODE].... <table id="tbl"> <div id="xtra" style="display:none; visibility:hidden"> </div> <div id="dname" style="display:none; visibility:hidden"> <input name="Name[]" type="text" size="35"> </div> </table> .... <input type="button" name="Add" value="More Company" onclick="return AddRow();"> .... //the following javascript function is saved in another .js file which is then called from the main php file when the … |
The End.