39,323 Topics
| |
Hi, Trying to build my own simple-ish forum script, and i want to display 2 forum posts snippets inside each category on the default page. I thought i knew the code for it but when i do [CODE="php"] $cat = mysql_query("SELECT * FROM forum_cat")or die(mysql_error()); $catresult = mysql_num_rows($cat); for($count = … | |
good day, i'm new to programming but i'm eager to learn, i have a problem, after i submit the number of quantity, the product will add, but then when i search again for another item, the page refresh.. i wanted to output all of the items in sales table so … | |
Hello - I am trying to get a looping date repeater to work but it is driving me crazy! It works for most dates but breaks for dates that originate in early November. I created a page that shows the code and the output for anyone to see what is … | |
Hi All, I am making website in php. I want to add funds to my account using paypal api. Please help me how i can do that? Regards | |
Hello, I'm totally out of luck with creating a working patternt to match for my preg_match. What I would like to do is, create a pattern that will match sentenses in a bunch of text.. It should recognize a word that has a capital letter and take it as the … | |
Hi, I am developing a web portal with login system . Users can view the pages with out login and if any one want to comment or rate then they must login. Everything working fine but my question is : I need to redirect the user to the previous page … | |
Hi I am recently trying a rating concept in php. The project is, peoples will post the images of house and ask everyone to rate it as which is beautiful home. I've placed a 5 rating stars and doing all the vote captures. But i am confused in picking the … | |
Hi there, I'm a newbie, and I would really like some help regarding this issue I have with my menu. First the code: [CODE PHP] 01 function public_navigation($sel_subject, $sel_page, $public = true) { 02 $output = '<ul id="sidebar_tags_ul">'; 03 $subject_set = get_all_subjects($public); 04 while ($subject = mysql_fetch_array($subject_set)) { 05 $output … | |
hi people how can i create a system that creates a mailing system that allow my websites members contact each other throught a private messages . please tell me how to do it step by step , if there is code it will be fine but you can also tell … | |
i need to bounce a problem off you guys that is driving me crazy i made a php login with sessions it logins in fine then as soon as i switch pages it loges me off and i did echo the ssid out and the session id does change on … | |
Hello Friends, I've around 1000 records in mysql database. in content table im using image source url like 'img.mydomain.com' so today I've registered new domain. so i want to find replace following domain and update my new domain in image path url. so please let me know how to find/replace??? … | |
Hi, I want to give a voting option in my website. For eg. Rate "this movie " and options are good, bad.... I want to block multiple submission and my site doesn't having any login system. I am planning to store the ip address of voting computer in a mysql … | |
How can I check if username already exists in database or not. | |
I know it is possible to overload PHP functions as I have seen this done with many of the prebuilt functions. My question is how do you declare an overloaded function? Everytime I try doing this I always get some error about missing arguments (even if there exsist a function … | |
Hello, What I'm intending to do it's an Organization chart with departments and members. Basically an organigram with different departments and different members. This is the MySQL database. And here is my attempt of doing this horizontally, but i`m kind of stuck. Could you give me some hints on how … | |
this is my php code: [CODE]<? if ($search) // perform search only if a string was entered. { mysql_connect() or die ("Problem connecting to Database"); $query = "SELECT shoeName, shoeSize,colour,price,description FROM shoe WHERE gender='$search'"; $result = mysql_db_query("CB", $query); if ($result) { echo "Here are the results:<br><br>"; echo "<table width=90% align=center … | |
| Alright, maybe I'm having a brain cramp this late at night, but my code is not working, and I have no idea why. Any help? This is simply being used for me right now, so yes, I'm pulling straight from the $_POST. [CODE] <?php session_start(); if($_SESSION['id'] != 5) { echo … |
Hi, Have some questions regarding First Data Payment Gateway, please reply accordingly. 1) i wanna integrate first data into my site, have read it requires two things, to work port 1129 should be open, and openssl on server. my hosting company's server is Linux , so do i need to … | |
Hi can anyone help me out here, I did a class working fine but i can't make objects out of it. do i need to include the file that has the class in my new file? with an include statement? say i have this. #file 1 <?php class foo { … | |
hello to u all hi l am doing a php(using xampp) project for a website which also has an online examination.can uassist me with guidelines for my project 1.) It should have MCQ section and WRITTEN or STRUCTURED QUESTIONS SECTION and the exam project would be sitting on a website … | |
I am trying to create a commenting system that is linked with videos hosted on my server. The videos are displayed on a watch page (watch.php) and the commenting system is included below the video player. When new comments are posted from the watch page they are then processed and … | |
hey people . please tell me how to solve this thing . i dont want to see this error again . please tell me . here is the error : Parse error: syntax error, unexpected $end in /home/awah7870/public_html/cms/blog_prog.php on line 26 and here is the code [CODE] <?php if(isset($_POST['post'])) { … | |
Let's say I had a few greyscale images I wanted to dynamically recolor.. How would I go around doing that? Say, for example, I have a black and white solar flare image, and it makes it yellow. Thank you in advance! | |
I finally have it so that when I click the submit button, I do get an email, but all that shows up is: "Name:". It doesn't tell me what the name is, or show the other two fields. (It does go to the Thank You page OK.) What am I … | |
good day everyone, i just wanted to ask for some help in using block ui for forms. i have a form with 3 values. once the form is submitted then block ui will appear with all the information from the form "echoed" within the div. but the problem is each … | |
How would I make a code that dynamicly gets MySQL and makes it like ?UserID=54556 :-/? | |
Hi Guys, i want to submit daily news for my company peoples, i need similar templates like Code: [url]http://alltop.com/[/url] and [url]http://mashable.com/[/url] can you suggest me which template is similar to above sites? suggest me wordpress and joomla templates | |
I am in my final year in the university and about to do my final year project. I would be very happy if anyone of you can suggest an idea that I can implement with PHP. Thanks in advance. | |
Hi guys/gals, I'm looking for a CMS Photo management site. Kind of like a Stock photography site, only I don't want to sell, I just want display images/EPS files. I REALLY like [url]www.istockphoto.com's[/url] layout and functionality. It gives previews for EPS files, which is what I need. I'm currently using … | |
Hello, My website contains many php pages that extract the content of a database according to a selected geographical area (regions and cities in the UK). To help google index all my pages, I have included all those php links in my sitemap. An example is [url]http://www.chinesetutorscentre.co.uk/UK/oxford.php[/url] Typing "Chinese tutor … |
The End.