39,323 Topics
| |
I'm working on generating SEO friendly URLs from data taken from a database. I've been successful for the most part. The only issue I'm having is when I stripped the spaces and made them dashes, I lose the data being pulled from the database. If I leave the spaces in … | |
I have a problem in my code. Whenever I instantiate COM its shows me this error: Fatal error: Class 'COM' not found in /Applications/XAMPP/xamppfiles/htdocs. COM works if I use windows, but when i use mac, it gives me error. I dunno if there should be extensions I should uncomment in … | |
Hey. I need some help with getting a record from a mysql database and compare it with data already stored in a php variable. If they don't match then I want to save the record in the database under another field and then update it. Here is my code: [CODE]$query … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
Hi, i made a search engine in php. But its only working in mozillah firefox. Do some one know what is worng ? | |
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 -> … | |
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 … | |
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 ) { … | |
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 … | |
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 … | |
Hi, Welcome guest(user who is currently login). I made a session of username. $_SESSION['username'] = $row[username]; Suggest me any idea. Thanks | |
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 | |
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 | |
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 … |
The End.