39,316 Topics

Member Avatar for
Member Avatar for ajfresh

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 …

Member Avatar for ajfresh
0
98
Member Avatar for Awah Mohamed

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 …

Member Avatar for richieking
0
66
Member Avatar for HITMANOF44th

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 …

Member Avatar for richieking
0
123
Member Avatar for ahmedeqbal

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??? …

Member Avatar for richieking
0
87
Member Avatar for rajeesh_rsn

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 …

Member Avatar for krishx343
0
254
Member Avatar for shenbagam
Member Avatar for joehms22
0
105
Member Avatar for paradox814

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 …

Member Avatar for NuMessiah
0
430
Member Avatar for Szabi Zsoldos

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 …

0
113
Member Avatar for tohobaby

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 …

Member Avatar for Pityu
0
256
Member Avatar for ZethSchlenker

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 …

Member Avatar for ZethSchlenker
0
107
Member Avatar for Sahilsahni

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 …

Member Avatar for Kraai
0
130
Member Avatar for mshauny

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 { …

Member Avatar for macobex
0
134
Member Avatar for professor123

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 …

Member Avatar for professor123
0
126
Member Avatar for jfarny

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 …

Member Avatar for jfarny
0
692
Member Avatar for Awah Mohamed

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'])) { …

Member Avatar for hielo
0
75
Member Avatar for Ashaon

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!

Member Avatar for doctorphp
0
33
Member Avatar for tearose49

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 …

Member Avatar for tearose49
0
180
Member Avatar for methuselah90

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 …

Member Avatar for methuselah90
0
1K
Member Avatar for balle

How would I make a code that dynamicly gets MySQL and makes it like ?UserID=54556 :-/?

Member Avatar for johnmaguire2013
0
140
Member Avatar for Dhirajseo

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

Member Avatar for diafol
0
69
Member Avatar for cossay

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.

Member Avatar for diafol
0
123
Member Avatar for stangn99

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 …

Member Avatar for stangn99
0
180
Member Avatar for bouncycastle

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 …

Member Avatar for Borzoi
0
117
Member Avatar for coxdabd

Hi, I've got a page URL of [url]http://localhost:8888/pass.php?main=about-us[/url] but I want the URL to be just [url]http://localhost:8888/about-us[/url] How is this done? I've played around with a rewrite for .htaccess but doesn't seem to want to work. [CODE]RewriteEngine On RewriteRule pass/(.*)$ pass.php?main=$1[/CODE] Any help greatly appreciated.

Member Avatar for pritaeas
0
58
Member Avatar for Pereguin

Hi, is there any way I can execute my PHP coding when my html image is clicked? Through AJAX, HTML, Javascript or anything. Right now my coding looks like this in Dreamweaver: <img src="_images/banner1.jpg" width="286" height="60" border="0" usemap="#Map" class="apply-btn" style="float:center; padding-top:20px; padding-left:240px;" onclick= "hello()" value='Applyonclick' input name='Applyonclick'/> </form> <script type="application/javascript"> …

Member Avatar for R0bb0b
0
171
Member Avatar for abelingaw

Regarding my previous post: [URL="http://www.daniweb.com/forums/thread326976.html"]http://www.daniweb.com/forums/thread326976.html[/URL] I manage to correct that error. Now my problem is the misplacement of records on my fields. Records that suppose to be in the Region field now displays at the Name field. Records that should be on the Zipcode field now at the Age field. …

Member Avatar for abelingaw
0
102
Member Avatar for zerey02

.I am creating an online quiz using PHP and MySQL. .what i want to come up with is a quiz page having a frame where the user is able to see the question and then choose from the available answers on the dropdown list. after which the user then clicks …

Member Avatar for R0bb0b
0
512
Member Avatar for jonnypixel

Hi, I am trying to check MYSQL table field for existing Tags. If they exist i dont want it to insert the tag. If they dont exist i want it to run the INSERT query. My code below wont work though.. it just keeps returning already exists even when the …

Member Avatar for jonnypixel
0
2K
Member Avatar for TooMpa

Hi trying to create a list structure list "nvidia/ati" had before you select something in one list and then the second list updates with values based on you selection. It will not be drivers and static items tho. So the purpose of this is to get a tree structure from …

Member Avatar for TooMpa
0
144
Member Avatar for luke noob

the problem is that its an undifined varible ($last) intill i type the second word, i [code=php] if($_POST) { $q=$_POST['searchword']; $q = explode(' ', $q); $first = $q[0]; $last = $q[1]; $sql_res=mysqli_query($mysqli, "select * from dogs where firstname like '%$first%' and lastname like '%$last%' order by id LIMIT 5"); while($row=mysqli_fetch_array($sql_res)) …

Member Avatar for luke noob
0
161

The End.