39,320 Topics

Member Avatar for
Member Avatar for csam0003

Hi all! Your thoughts please on the following. I have a php script to be run on the server every 10minutes or so. Depending on some condition, I want an image at a particular url to change. I then have a webpage in which a link is always pointing to …

Member Avatar for nquinlan
0
140
Member Avatar for xxreenaxx1

Hello I am using for loop on a form and posting these to the next page and I can echo the array and print 1 if there is value. If there isnt any value nothing print but I want 0 to be printed. I have tired few ways and so …

Member Avatar for xxreenaxx1
0
233
Member Avatar for Fresco Vivir

Greetings i'm going to work on project thats a script for MCQ quizzes the requirements are: 1- the instructor can make quiz and save it to the database. 2- the instructor can select specific quiz from the database and allow the students to take it 3- the quiz should be …

Member Avatar for smantscheff
0
197
Member Avatar for shadowscape

hello again, i have one more problem im trying to get past, i have a url structure like this.... [url]products.php?page=scripts[/url] how would i make a multiple variable so i can also use this.... [url]products.php?pid=sscfa[/url] but not at the same time, either one or the other, i have attached the code …

Member Avatar for teedoff
0
113
Member Avatar for lkrvk

Hi guys, i am going on with a vigorous practice with PHP and MYsQL. currently i am doing a simple project which has a form, input box which takes the users name, then selects a random image and place it on the image with a random selection of fonts, with …

Member Avatar for lkrvk
0
258
Member Avatar for OnIIcE

Hi guys! I was wondering if anyone has any decent references for mod_rewrite? Ive been scouring the web and found a few cheat sheets for it and managed to come up with [CODE] Options +FollowSymLinks RewriteEngine on RewriteRule search/(.*)/(.*)/?(.*)/(.*)/?(.*)/(.*)/?(.*)/(.*)/?(.*)/(.*)/$ /search.php?$1=$2&$3=$4&$5=$6&$7=$8 [/CODE] which works ok if all the 4 varibles are …

0
60
Member Avatar for tape enterprise

well I am knew to php and there is probably a function for this. ok well I want to combine two arrays in a certian way like so [CODE] $varaible = array(example example2 ); $variable2 = array(something, something2); i want to know a way to combine two arrays so it …

Member Avatar for smantscheff
0
70
Member Avatar for s1sofiane

Bonjour, Je viens vers vous car je ne sais pas du tout comment m'y prendre. Je cherche à faire 6 listes déroulantes liées php JavaScript mysql mai 1 listes déroulantes liées 2 listes déroulantes ca ce ok [COLOR="red"][B]3 listes déroulantes liées 1 listes déroulantes:'(:'(:'([/B][/COLOR] 3 listes déroulantes liées liées 4 …

0
47
Member Avatar for xcamp

Hi, I am really really new to this, but I'm having a bit of trouble with some php. I have a HTML file which I have no access to, and a snippet is below: [CODE]<form onsubmit="return validate();" method="post" action="process-quiz.php"> <h2>A Simple Quiz</h2> <fieldset> <legend>Name</legend> <p id="UserInfo">What is your name?</p> <div> …

Member Avatar for Zagga
0
112
Member Avatar for haye321

Hi, I've written a small script that successfully sends an sms using individual carriers email extensions (ex. [email]1234567890@vtext.com[/email]) but I was trying to change the sender. Right now it just shows up as the server from which it was sent but I was hoping to get it to display a …

Member Avatar for digital-ether
0
55
Member Avatar for yours

what happen to my code the display the scenario goes like this call to undefine function mysql_prep???please help me!!!!!thnx a lot good bless [CODE]<?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> <?php find_selected_page(); ?> <?php if (intval($_GET['subj']) == 0) { redirect_to("content.php"); } if (isset($_POST['submit'])){ $errors = array(); $required_fields=array('menu_name', 'position', 'visible'); foreach($required_fields as …

Member Avatar for rahulisola
0
286
Member Avatar for phpDave

Hi, I'm building a site where users can connect with each other. I'm trying to let users post comments like one would on Twitter or Facebook. Currently, I have it so the user has to update there comments but I would rather them post new ones. Basically, how is this …

Member Avatar for phpDave
0
91
Member Avatar for dyla123

I am wondering does anyone know how to help me with a pvp script. Nothing major just something simple. I want it something like: Player1 Attacks and hits X Damage. Player2 Has X hp Left. Player2 Back Hits and does X Damage Player1 Has X hp Left. Player2 Attacks and …

Member Avatar for diafol
0
110
Member Avatar for stevenfagan

I'm using a linux shared hosting account with godaddy and I can't seem to get stored procedures working correctly with my MySQL database. I can create them from within phpMyAdmin fine. I can also create them in MySQL workbench fine. However, whenever I try to call the stored procedures either …

Member Avatar for davidchilders
0
1K
Member Avatar for eefh01

Hi, Is it possible to design a PHP application to draw UML diagrams using reverse engineering? So far I found a PEAR package (PHP_UML). Anybody has an idea on using it? Thanks, Kiran

Member Avatar for diafol
0
193
Member Avatar for kalender

Hi! Needing som help my friends. Never coded in PHP before just got this from a friend a while ago. Anyone knows how to fix it? Hehe.. When im trying to register (visiting the "blimedlem.php"-file (aka register.php) I get the error: Column count doesn't match value count at row 1 …

Member Avatar for kalender
0
219
Member Avatar for McLaren

So lets say I want to make a script that adds credits into a database when customer pays money using some gateway like paypal. What if there comes an error while updating the database row? For example the conection is lost. Then I could do some logging to a text …

Member Avatar for McLaren
0
96
Member Avatar for eoop.org

Hi, i made a search engine in php. But its only working in mozillah firefox. Do some one know what is worng ?

0
78
Member Avatar for saadi06

Hi, I want to get the values retrieved from the database start from 1 array index instead of 0 [CODE]Array (-> [0] => 1 [1] => 2 [2] => 2 [3] => 2 [4] => 3 ) [/CODE] I want the array index that starts from 0 pointed with -> …

Member Avatar for diafol
0
49
Member Avatar for devilstar1987

Hi Guys, I'm trying to get an image to show instead of text in this button array [CODE]$button = array( 'id' => 'not_friends', 'component' => 'friends', 'must_be_logged_in' => true, 'block_self' => true, 'wrapper_class' => 'friendship-button not_friends', 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_class' => '', 'link_href' => wp_nonce_url( $bp->loggedin_user->domain . $bp->friends->slug …

Member Avatar for diafol
0
106
Member Avatar for andrewschools

Hello - Looking to find a function that works just like the php function uasort() but have it maintain the relative order of items when equal keys are found. Here's my code now: [CODE] $array = array("item1"=>-1,"item2"=>-1,"item3"=>-1,"item4"=>0,"item5"=>2,"item6"=>2,"item7"=>1); function sortThis($a,$b) { if( $a == -1 || $b == -1 ) { …

Member Avatar for redfox23
0
2K
Member Avatar for klemme

Hey everyone! After some research I have found that I need some javescript help to process a users click from a html drop down select list.. I am trying to create an admin area for a website in php and using mysql database. In my admin home page, I have …

Member Avatar for Airshow
0
180
Member Avatar for chamukwaga

I have completed my web based system and i used wamp server, i don't want to put admin control pannel in my website rather i want admin to login to phpmyadmin on that computer where hosted via web browser by using username and password. Also i want to know which …

Member Avatar for smantscheff
0
91
Member Avatar for jacob21

Hi, Welcome guest(user who is currently login). I made a session of username. $_SESSION['username'] = $row[username]; Suggest me any idea. Thanks

Member Avatar for smantscheff
0
43
Member Avatar for jacob21

Hello, I am using a java script to select a date from date picker.After selecting date from calender,it shown in the text box but it is not saved in the database. In database takes this value 0000-00-00 for every date. Please suggest me any idea for above. Thanks

Member Avatar for perfectweb
0
167
Member Avatar for loganwasif005

hi every one i m doing software engineering and i have basic fundamental know how of all of them i want to select 1 or 2 of them and want to master them i need help and you opinion plz tell me which one is batter and why thanks

Member Avatar for kvprajapati
0
48
Member Avatar for JeanPhilippe

Hi, i'm trying to get something to work. I want to do a query with multiples "if not" conditions in a mysql query. This is working : SELECT * FROM table WHERE column!='value' This is not working : SELECT * FROM table WHERE column!='value' OR column2!='value' I've tried all kind …

Member Avatar for ifezuec
0
117
Member Avatar for McLaren

Hi, I don't undestarnd what I did wrong. When I go to joomla home, I mean [url]http://localhost/joomla15/[/url] (joomla wenbsite is placed in joomla15 folder) I get an error 404 - Component not found Yeah, I played around with components, and made some component to home menu, but now don't know …

Member Avatar for McLaren
0
79
Member Avatar for melgul

Hi everyone, i have upgraded my Ubuntu Server machine form 9 to 10 and i saw on the my website Warning: Cannot modify header information - headers already sent by (output started at /var/www/*********/components/com_joomfish/helpers/defines.php:94) in /var/www/********/plugins/system/jfrouter.php on line 598 many web sites say its occurred from blank line bottom of …

0
43
Member Avatar for coolest_987

Hi Everyone How to convert pdf file into HTML through php? Any help will be depreciated. Thanks in Advance :(

0
91

The End.