39,402 Topics
![]() | |
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 … | |
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 … | |
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 … | |
Hi Everyone How to convert pdf file into HTML through php? Any help will be depreciated. Thanks in Advance :( | |
Good day fellow programmers, please i need your help. I have a hidden field that holds both the destination and the id of the destination, i need help on how to send both the id and and value of the destination to the database The code for the form is … | |
Hi I'm having real problems getting one dropdown to populate a second dropdown based on different options being selected in the first. For it to work in a form. And for the dropdowns to take their data from mysql table. In the code enclosed I've hard-coded the categories, but obviously … | |
hello everyone, Help pls. I encounter "server error" with the last sql query statement in the last 'for' loop. Here is the code: $qdev=mysql_query("select distinct(device) from wipdataperarea where creation_date like '$today%' and gtc='AL' order by gtc,device"); $device=mysql_num_rows($qdev); while ($dev=mysql_fetch_assoc($qdev)) { echo "<tr>"; echo "<td>" . $dev['device']. "</td>"; $qarea=mysql_query("select distinct(area2) from … | |
Hi there, I'm trying to learn how to work with phpMyAdmin and Visual Studio. I've created a database in phpMyAdmin and called the database "business". I've also created a table called business information with some fields but no data. Any idea how I can connect to the database? Regards Usmaan | |
I am not good at PHP or javascript, But, our club is going to start a webpage, we bought the domain. We are planned to use wordpress. I want to customise the wordpress to maximum. we want to develop the site at SNIP and i want to know which is … ![]() | |
I am just wondering what I have done wrong. I successfully installed Netbeans, PHP, MySQL, APACHE on Ubuntu 11.04 and I have been developing applications with them. Recently, Whenever I try to establish a connection with a MySQL using the following lines of code, and run the page from Netbeans, … | |
I have problem regarding redirect ,I want like when someone types [url]http://picmagazines.com[/url] ,[url]http://www.picmagazines.com,picmagazines.com[/url] ,It redirects to [url]http://www.picmagazines.com[/url] only ,I added the code from [url]http://www.jackborn.com/tools/canonical-urls.php[/url] in .htaccess file but it redirects to some strange url [url]http://www.picmagazines.com/index.php?/[/url] I need this to be [url]http://www.picmagazines.com[/url] ,how I can correct that,please advice me ,this helps … | |
How to read pdf file in a variable so that i can display that in php page ? Thanks in Advance :) | |
I need some extra eyes to help me figure out what is wrong! I have one entry form and a second form that does the updating. I have a checkbox for 'Entered' that works great but the checkbox for 'Proof' does not work. If I manually enter the value in … | |
Is there anyway to format Phone Numbers and/or Web Address [U][B]PRIOR[/B][/U] to inserting them into the database? For example, let's say a user puts one of the following telephone numbers into the box: (777) 111-2222 777-111-2222 777.111.2222 7771112222 I would like these to be stored in the database as: (777) … ![]() | |
![]() | Hello people, I have a problem in displaying my images in the dimensions I wish: I used the following code: [CODE] echo'<td><a href="portsdetails.php?idImg='.$idphoto.'"><img src="'.$lien.'" width="10" height="10" border="0"/></a></td>'; [/CODE] ![]() |
Hi Everyone I am working on to read doc file in php but it return ������€������€������€������€�� ���Œ�� ���¸������ Please help me to read doc file line by line in php. Any Help will be appreciated. Thanks in Advance | |
Hi, I have the following situation; I made a website where I can manage the pages. One option, where I add more pages, is giving me problems. When working on my localhost everything works perfectly, and the generated file is being processed correctly. Online however is results in a very … | |
<?php $word = new COM("word.application") or die ("Could not initialise MS Word object."); $word->Documents->Open(realpath("result1.doc")); // Extract content. $content = (string) $word->ActiveDocument->Content; echo $content; $word->ActiveDocument->Close(false); $word->Quit(); $word = null; unset($word); ?> Please Help | |
I have created a string, now I want to add data to the end of the string - [CODE]<p>This is the string</p>[/CODE] I now want to read from MySql from a field and add the data to the end of the string. Something like - [CODE]&Str1 = "This is the … | |
i want to do remove friend from friend suggestion list after adding the in the friend list in php.how i can do that.Please help me as soon as.... | |
Hi.. is there anybody having free php source code..plz sned me.. its urgent plz.... thanks in advance.. | |
Greetings i'm sorry for bother you guys with my questions but i'm in the process of learning php and they say if you want to be the best learn from the best :) what i want to know is how can i copy a column "field" from a Table lets … | |
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 … ![]() | |
Hi all, I want to calculate the difference between two dates but can't achieve what I want ... I'll explain to you what's the problem.. $date1 = "2007-02-05 20:32:15"; $date2 = date("Y-m-d H:i:s"); $diff = $date2 - $date1; I've already done that but let's suppose if the difference is 24h … ![]() | |
is it necessary to install any other s/w like apache etc if i have WAMP or XAMP on my machine to connect php with oracle? | |
Greetings i make a code to show spacific fields of a table is there anyway to make all fields with its records appear ? this is my code [CODE]<?php $db_host = "localhost"; $db_username = "root"; $db_pass = ""; $db_name = "el"; @mysql_connect("$db_host","$db_username","$db_pass") or die ("could not connect"); @mysql_select_db("$db_name") or die … | |
Hello, I dont know any PHP or MYSQL, but I had created a script for my business with the help of you Gurus. Now I am stuck with a problem once again. I hope you will help me again. I have a MYSQL DB, 'shipments' and Table 'info' with a … ![]() | |
Hi, need some help with the a php code i made to a search engine, i get a error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/eoopoedt/public_html/sok/search.php on line 49 Can some one fiks my code, and give me the right code: [CODE]<?php $button = … ![]() |
The End.