39,402 Topics

Member Avatar for
Member Avatar for dietdew12z

I tried searching for an answer, but I'm not sure how to word the question so that it fits into a search box. I found out a month or so ago that if you are accessing variable data like $_POST['user'] or after a mysql_fetch you can use $row['id'] but it …

Member Avatar for dietdew12z
0
149
Member Avatar for Joshua Kidd

Hello all, Is there any way that I can count the number of lines in one column in a table? Such as I want to count all the names in this column on First name: [url]http://www.globalvirtualairlines.com.../web%20app.php[/url] How would I do so? Thanks in advance!

Member Avatar for evanism
0
146
Member Avatar for madgokuss4

Hi everybody, got a small ( possible large as it's driving me bonkers lol ) problem. I'm making a stock level checking script using php/mysql. I need to make it so that the script checks each item of stock in the database and if the level of an item is …

Member Avatar for madgokuss4
0
97
Member Avatar for mbarandao

i'm trying to redirect a successful login user to his/her specific directory in the root site. Could I request some guidance in this area?

Member Avatar for mbarandao
0
1K
Member Avatar for joeyxaza

hi all, please can anyone help me, i would like to upload microsoft word documents and adobe pdf to a web page. can anyone be of assistance. thank you

0
59
Member Avatar for ubi_ct83

Hi guys, ive read an article about using PHP with Java here:[url]http://www.devshed.com/c/a/PHP/Using-PHP-with-Java/[/url] but im a bit confuse to get start with this instruction in this article.i pasted getting started page: [QUOTE]PHP doesn't come with Java support turned on by default, so you'll need to recompile it to enable this support. …

0
79
Member Avatar for Giggaman

I've searched & searched and haven't figured it out, any help is great! I need to display certain fields from my table, right now it only displays the first row of the table. I need to display all rows in the table. Code I have right now [CODE]$query = "SELECT …

Member Avatar for reygcalantaol
0
156
Member Avatar for prakashghai

Friends, I am zero in PHP, but still i have managed to do something to fulfill my requirement. I am stuck with one thing now..So i need help on.... I am using one html+php form to submit database into mysql. I created a display of that table through php script …

Member Avatar for reygcalantaol
0
3K
Member Avatar for thijscream

i just made a website on a local webserver(xampp) now i'm uploading it to my webspace @ my hosting and i get the following error: Error : Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause what am i doing wrong? …

Member Avatar for Wraithmanilian
0
78
Member Avatar for Sydney123

Hi there I have used a script available on the internet for a multiple drop down box ( Country/State/City ). Once the selection is updated I would like 3 different set of result to show in box : Result could be value or text. Using the below script I am …

Member Avatar for Wraithmanilian
0
145
Member Avatar for tunde011

Hello there. I have a website and I think it has been hacked this morning, using some sort of cross scripting. When I go on my site, reload a page or click a link, it opens a pop-up and shows ads. What to do? and how do i prevent this …

Member Avatar for Wraithmanilian
0
80
Member Avatar for leeZA1

If someone could help, that would be great.... Ok i want the data to be displayed together.... eg. 'week 1' displayed once then all the matches in a single table below, then prints 'week 2' follwed by the matches in the following table rather than continually stating 'week 1' and …

Member Avatar for diafol
0
218
Member Avatar for abhi10kumar

The below function is showing error in the [QUOTE]"'<script[^>]*?>.*? </script>'si", // Strip out javascript[/QUOTE] line. How I can remove ?? [CODE]function smfeed_html_to_text($string){ $search = array ( "'<script[^>]*?>.*? </script>'si", // Strip out javascript "'<[\/\!]*?[^<>]*?>'si", // Strip out html tags "'([\r\n])[\s]+'", // Strip out white space "'&(quot|#34);'i", // Replace html entities "'&(amp|#38);'i", …

Member Avatar for abhi10kumar
0
137
Member Avatar for McLaren

Hi, I am trying to integrate facebook using library from this blog: [URL="http://www.key2market.com/2010/12/integrating-facebook-with-codeigniter-2-0/"]http://www.key2market.com/2010/12/integrating-facebook-with-codeigniter-2-0/[/URL] I made a test function: [CODE] function index() { $this->ci =& get_instance(); // Create our Application instance //(replace this with your appId and secret). $this->ci->load->file(APPPATH.'/third_party/facebook.php'); $this->data['facebook'] = new Facebook(array( 'appId' => $this->ci->config->item('id'), 'secret' => $this->ci->config->item('key'), 'cookie' => …

0
73
Member Avatar for trilithon

Hi all, I need some help please. Is there any way to request a read receipt or delivery report on the mail funcion in php mail merge. Thank you, Max

0
54
Member Avatar for ranj_s20

I have problem with a PHP application while accessing a local shared file using firefox browser .With IE it works fine.But with firefox it showing security error. I had given a hyper link to access that shared file.Outside the webserver it running well. Any body have solutions please help me:(

0
57
Member Avatar for cliffcc
Member Avatar for mehran tahir

hi every body, i want to installed the modernbill on my localhost, i got this error in the installation phase, * You MUST have (SSL-enabled PHP cURL for faster secure remote API queries [you do not], or SSL-enabled CLI cURL for secure remote API queries [you do not]) [you do …

Member Avatar for mehran tahir
0
152
Member Avatar for dalip_007

Hi guys. I run a social networking site based on php and mysql and i want to let the users to invite their gmail and yahoo address book contact to invite to my site using their email. Any idea about how can this be done? thanks

Member Avatar for dalip_007
0
103
Member Avatar for dr.4030

Hello, every google user must have seen how they show the Result pages like " Previous 1 2 3 4 Next ".Could someone tell how it can be done with php... many thanks.

Member Avatar for tomato.pgn
0
73
Member Avatar for kokfui

<?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> <?php require_once("includes/session.php"); ?> <?php find_selected_item(); ?> <?php include("includes/header.php"); ?> <?php if (isset($_POST['submit'])) { $top_up_cash = mysql_prep($_POST['top_up_cash']); $user_id = $_SESSION['user_id']; $result = mysql_query("SELECT * FROM users WHERE id='$user_id'"); while($row = mysql_fetch_array($result)) { $bidot_cash = $row['bidot_cash']; } $new_bidot_cash = $top_up_cash + $bidot_cash; $query= "UPDATE users SET …

Member Avatar for diafol
0
135
Member Avatar for Tempest will

Hi all, im currently trying to create a news feed, i have the basis of the code, as i can enter information and it is displayed on a different webpage, but i need all of the different updates to be displayed, and need a scroll bar so they can be …

Member Avatar for diafol
0
94
Member Avatar for dr.4030

Hello every body, I created some pages for downloading files directly from my website But i have problem with adding download link in php tags so is there any body to tell me how i can make download link inside the php tags. i wrote some things like this : …

Member Avatar for diafol
0
107
Member Avatar for ggeoff

Hi I am using the PHP include statement to enable publication of a piece of news. The news is filed as "news.txt" and the user has access to a directory to upload the file or delete old news but no access to the code. If the file does not exist …

Member Avatar for diafol
0
212
Member Avatar for Awah Mohamed

hey people. i am asking if it is posible to check for the user status using php. i mean to know if the user if online or offline. i am trying to build a chatting system that alow me to know who is online and who is offline.

Member Avatar for 84hd0ns
0
769
Member Avatar for amit.hak50

I have a website pdf search engine called <URL SNIPPED> I don't want to provide my search engine for backlink so ,please don't remove my post,I need some help.. what is happening is the when you type "C tutorials" in search box it creates two instances like "C tutorials" and …

Member Avatar for evanism
0
152
Member Avatar for debasishgang7

I am using a XXS filter function to filter unwanted code.Here is my function xxs.php [CODE]<?php function clean($data) { // Fix &entity\n; $data = str_replace(array('&amp;','&lt;','&gt;'), array('&amp;amp;','&amp;lt;','&amp;gt;'), $data); $data = preg_replace('/(&#*\w+)[\x00-\x20]+;/u', '$1;', $data); $data = preg_replace('/(&#x*[0-9A-F]+);*/iu', '$1;', $data); $data = html_entity_decode($data, ENT_COMPAT, 'UTF-8'); // Remove any attribute starting with "on" or …

Member Avatar for debasishgang7
0
1K
Member Avatar for azegurb

hi all, I cannot understand for what reason and how is used [B]call_user_func_array[/B] Can anyone explain me in a very simple manner what is [B]call_user_func_array[/B]? and with examples if possible Thanks in advance

Member Avatar for Kraai
0
170
Member Avatar for agam360

Hello, I have a php code that can find a child node in my xml file, And my problem is that I want to delete the specific user when I find the child node. How can I implement it here? [B]mail-list.xml:[/B] [CODE]<maillist><user><time>2011</time><email>MUBnLmNvbQ==</email></user><user><time>2011</time><email>M0BnLmNvbQ==</email></user></maillist>[/CODE] [B]And here is the php:[/B] [CODE]$xml = simplexml_load_file('mail-list.xml'); …

0
83
Member Avatar for debasishgang7

I am trying to make a php Database Driven commenting script.I have to fetch comment and name from the Database according to page id.Suppose i have to fetch comments against the id 45.Then the "fetchcomment.php?id=45".It should fetch all the comments One by one Under the Page ???How to do this.The …

Member Avatar for debasishgang7
0
147
Member Avatar for slrobinson1983

hello all. heres my problem. i have a mysql database with 2 tables. the first table is called songs which contains records for all the songs on my site. its columns are song id and song title. the second table is called ratedsongs. its columns are song id (id of …

Member Avatar for diafol
0
77
Member Avatar for newbiecoder

Hello I tried to make a contact form for my Flash website but when I upload it to my server it just doesn't work. Can you tell me what is wrong with my codes or doesn't it work because of a server-side problem? Here is my Actionscript code on Flash: …

Member Avatar for newbiecoder
0
276
Member Avatar for disposable_zero

OK I'm pretty green at this so do bear with me. What I want to do is have an area where people can upload files to me. I found a script that I'm trying to make work and I've almost got it there but I'm having an issue. Everything actually …

Member Avatar for disposable_zero
0
113
Member Avatar for thephpdev

I have no idea what's wrong, I googled but I couldn't find the answer :/ it's probably really obvious but i'm rather new to PSQL Statement: [CODE] INSERT INTO drop_users VALUES ('John_Bucky','John_Bucky','a83b3735814aa577651a55b7c838a6a0',02-04-2011_02:20:55,'object', DEFAULT,DEFAULT,13,DEFAULT,DEFAULT[/CODE] Thanks for your time! ~Josh

Member Avatar for thephpdev
0
93
Member Avatar for clbembry

I'm trying to find a php script to get the url of the flv file of a youtube video, but all the scripts I find are from 2007-2008 and no longer work :/ Does anyone know of one that works?

Member Avatar for diafol
0
67
Member Avatar for svmer

Hi please help me about SSL and SSH what is that and what is there using purpose coz some of my clients asking me for ssh access or ssh root access i don't know what is that. Thanks in advance

Member Avatar for 84hd0ns
0
110
Member Avatar for phpDave

Hey, header is working just fine in f.f but not in i.e. I.E. seems to clear the Query String up to index and redirect me to the index page. If I cancel out the header func. page seems to work . Here is some of the code. [CODE]if ($Result1) { …

Member Avatar for phpDave
0
115
Member Avatar for Tehim

I'm trying to make a ban system for my website with the following features: -Tell user reason for the ban -Tell user date it'll expire -Tell user date it was issued -Tell user who they where banned by -Auto perma if user has been banned a total of 3 times …

Member Avatar for MagicMedia
0
362
Member Avatar for altarek

hello I have checkbox to display the months .Is good in the insert form But in the update form I want the months that have been checked in the insert form ,have checked in the update form i used this code to dispaly check boc [CODE]<?php foreach ($months as $key …

Member Avatar for altarek
0
60
Member Avatar for youvi

hello, See "ABC4_HUMAN" is a database value.i need to search this value using a character say"A" or by a word say"ABC".But i need to check this value only in "ABC4" part of the value "ABC4_HUMAN". please provide me the query using "like" operator.. thanks

Member Avatar for Stefano Mtangoo
0
100
Member Avatar for Bazzaah

Hello After some help please I have a website which links to a database. I would like to be able to echo the contents of the database onto a new page. The new page is generated with the following code; [CODE]echo '<tr><td align="left"><a href="word.php?w=' . $r['word'] . '">' . $r['word'] …

Member Avatar for Stefano Mtangoo
0
93
Member Avatar for professor123

can anyone help me, l have a laptop an a desktop and a crossover(network cable). l want to be able to connect the 2 and then use the laptop as a server from which l wil run my XAMPP AND THEN SET UP A PROJECT (e.g a website or any …

Member Avatar for professor123
0
105
Member Avatar for karthik_ppts

i have connected an external device to my server. That device send some data through one port. Now how to read that data from port and store in mysql using php?

Member Avatar for karthik_ppts
0
1K
Member Avatar for ebanbury

Hello HOw do I format the output of my prices/numbers using number_format () In the code below I have the dynamic field from a recordset which shows the price. Currently the numbers are as such for example: 100000 and I would like them to be displayed as 100,000 or 1,000,000 …

Member Avatar for ebanbury
0
138
Member Avatar for stefh

Hi everyone :) Does someone have a solution to use single and double quote with php cli when passing code with the -r option? Example, this won't work:[CODE]$ php -r 'echo 'ok'; echo "ok";'[/CODE] I'm looking for a solution that allows me to use single AND double quotes in the …

0
80
Member Avatar for AndreRet

I have searched a million pages today, without any solutions. I can add images to MySql, Pull them from the database and show them successfully. My problem is that they are all in different width and height sizes. What I then tried to do is to set the size BEFORE …

Member Avatar for Kraai
0
1K
Member Avatar for eagled2

Hello. I am working on a permission system for a site I am creating. First I will explain what I am trying to do, then I will explain the problem I am having. I am saving the active permissions for a user at login. The permissions are saved in a …

Member Avatar for eagled2
0
126
Member Avatar for cliffcc
Member Avatar for jonow

I currently have am using Google Calendar for a website but I am creating a CMS system and want to be able to edit the calendar straight from my CMS system without having to go login to Google. Is there a way to do this? If not is there an …

Member Avatar for diafol
0
76
Member Avatar for rom.

hi there, I'm having trouble with my project, I can't wrap my head around the code. Any help would be greatly appreciated! in a database you have 2 tables. they look like the following.. table: workflow columns: id, title, content_id table: content columns: id, text list (echo) all the entries …

Member Avatar for diafol
0
121

The End.