140 Topics

Member Avatar for
Member Avatar for rpv_sen

Hi Friends I have pasted the code below which i was used in my project. But i am getting mysql_fetch_array() error. For your more information i have attached the screen shot of the error Pls give me solution [CODE]<?php // Inialize session session_start(); include("../config.php"); // Check, if username session is …

Member Avatar for rpv_sen
0
361
Member Avatar for joban.ali

Hi Everyone, I have integrated a Google Map on my website, which is working in good order. The maps data such as location lat/lng is coming from database. At present all the location markers are appearing on the map. I have a php page which draws out all the sql …

Member Avatar for keval_hack
0
286
Member Avatar for umeshMCA

hi i am a new user of webdevelopment. i work with php mysql and load site about 8 months ago i face a problem that google not search my sites. how i overcome from this problem. as i search on google how to do its but not working. please sugeest …

Member Avatar for diafol
0
162
Member Avatar for Awah Mohamed

hey people. i want to create a page views counter. i know how to create 1 using php but what i want to create now is to create a very dynamic page views counter that update it's self when ever a new value is added to the database. what i …

Member Avatar for makman99
0
107
Member Avatar for Awah Mohamed

hey people. this is my 1st time to get this error. i usually save cookies using this code: [CODE] <?php $time = time()+60*60*6; // the time is saved for 6 hours // then save the cookie with the $id data setcookie("ln", $id, $time); ?> [/CODE] but with my new website. …

Member Avatar for diafol
0
177
Member Avatar for Awah Mohamed

hey people . i am trying to set a cookie but when ever i try to set it, it says : [CODE]Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\signup\conf.co.signup.php on line 13[/CODE] please help me with this. this is my code: [CODE] <?php error_reporting(-1); if(isset($_COOKIE['logedin'])) …

Member Avatar for Awah Mohamed
0
240
Member Avatar for amit.hak50

I have the below code [CODE]<script="text/javascript"><a href="costs_prices_rates_book_editing.php" onmouseout="turnoff(´pic2)" onmouseover="lightup(´pic2´)"> <img alt="Get a FREE Book Editing Sample" name="pic2" src="images/pricequote.jpg" style="border: 0px solid; width: 215px; height: 51px;" /></a></script>[/CODE] What is happening ? when I try to save onmouseover="turnoff'pic2'),the system is not able to save the file and the changes remains unchanged and …

Member Avatar for diafol
0
111
Member Avatar for Mars1936

Is it possible to check a random query against another table through php? Say I pull a random query from table A and then transfer it to table B. Then I pull another random query from table A. Is there a way to check the 2nd random query against table …

Member Avatar for Mars1936
0
283
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
2K
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
762
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
143
Member Avatar for adamworld

I am trying to store millions of records with address, city, state, zip, etc. I originally had one table with 17 different fields with the primary key being id. However, I soon realized after inserting almost a million, the website began to lag and was slow. What is the best …

Member Avatar for debasisdas
0
257
Member Avatar for begueradj

Hello, I have a form from which I post some data into 3 tables: when I click on the submit button I don't get any error message from mysql_error(); but when I look to my 3 tables I see no one of them has received the data I just posted …

Member Avatar for begueradj
0
247
Member Avatar for Awah Mohamed

hi people. i am building a simple social network for my CAS (i am doing IB diploma) and when i came to the home page where i all the friends statuses are viewd i got a problem here is my home page's code: [CODE] <?php if(!isset($_COOKIE['ln'])) { header("location : index.php"); …

Member Avatar for happytogether
0
256
Member Avatar for adamworld

I have a script that I am using to retrieve zip codes within a certain radius using a foreach php statement. However, with these zip codes that I am getting, I want to add a comma between each value (for example: 11111,22222,33333) to use in a SQL query using the …

Member Avatar for qazplm114477
0
3K
Member Avatar for AntiNL

Hi, I've been busy writing a script to upload photo's to my webserver, and after a lot of searching I finally managed to get the permissions correct, but now I'm having another problem. There are quite a lot of posts about it, but they all come down to having the …

Member Avatar for smantscheff
0
254
Member Avatar for grayceworks

Here is what I am trying to accomplish: I have a form, reschedule requests. I have gotten it to autofill the logged in user and email using the site's global variables. In other database tables, I have info on who they're scheduled with, and their scheduled time. I need to …

Member Avatar for grayceworks
0
5K
Member Avatar for Awah Mohamed

hey people. okay, i am designing a social network. but i got a problem in my signup code. check this is the form code : [CODE] <script src="../../../SpryAssets/SpryValidationTextField.js" type="text/javascript"></script> <link href="../../../SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" /> <script src="../../../SpryAssets/SpryValidationSelect.js" type="text/javascript"></script> <link href="../../../SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" /> <div id="signup"> <div id="CollapsiblePanel1" class="CollapsiblePanel"> <div class="CollapsiblePanelTab" tabindex="0" …

Member Avatar for Awah Mohamed
0
185
Member Avatar for Awah Mohamed

hey people i am designing a website in php/mysql . well it is a social network. simple one. but i didnt know how to allow people to add friends . so i found the easiest way for me is to create a separate mysql table for each member containing all …

Member Avatar for mschroeder
0
106
Member Avatar for wafieali

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\AppServ\www\eUTM\login\logincheck.php on line 13 here is the code: <?php //login check require_once("dbconn.php"); $con=connectdb(); $idpengguna=$_POST['idpengguna']; $katalaluan=$_POST['katalaluan']; //login PELAJAR from table pelajar $pekerja_query="SELECT * FROM pengguna where idpengguna = '$idpengguna' AND katalaluan = '$katalaluan'"; $pekerja_result=mysql_query($pekerja_query,$con); $pekerja_row=mysql_fetch_array($pekerja_result); if(!$nama_id && !$katalaluan) { $err=1; …

Member Avatar for wafieali
0
435
Member Avatar for lit108

I have created a login system with some validation which all works fine, however I want to be able to create a session when the user logs in and then store this session information in a table that I have allready created. The table has the following values id ip_address …

Member Avatar for ice_k99
0
196
Member Avatar for chirag321
Member Avatar for Awah Mohamed

hey people . i am not a very good programmer . i am biginner in web designing . not a very biginner . i can design a full website in php/mysql and a can create a powerful php apps but my main problem is seo (search engine optimization ) . …

Member Avatar for Awah Mohamed
0
112
Member Avatar for wafieali
Member Avatar for tiggsy
0
72
Member Avatar for borillion

Im trying to implement JCarousel in my site and have some confusion about what to do, two files, one called similar_products_stack which contains the query: [CODE]<?php $similar_items = array(); $category_in_now = zen_get_products_category_id($_GET['products_id']); for($i=0;$i<4;$i++) { $products_query_raw = "SELECT p.products_id, p.products_type, pd.products_name, p.products_image, p.products_price, p.products_model, p.manufacturers_id, p.master_categories_id FROM " . TABLE_PRODUCTS . …

Member Avatar for Airshow
0
158
Member Avatar for MysticalNomad

[B]The Idea[/B] The idea is that my PHP page will execute specific SQL statements on a database depending on which form elements are filled in. Instead of having to write continuously lengthy IF statements to determine which statement to use, I would like to have the necessary statement "looked up". …

Member Avatar for pritaeas
0
101
Member Avatar for vidhyajeyaraman

Hi, I have dynamically created radio buttons. [CODE] $i=1; <input type="radio" name="qtn-$i" value="yes"> $i++; [/CODE] Now how to get the values of these buttons using post method?

Member Avatar for sudeepjd
0
723
Member Avatar for sahromo

I git this warning>> [CODE]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files (x86)\EasyPHP 2.0b1\www\HotelCalifornia\sites\reserve_room.php on line 85 Unknown column '' in 'where clause[/CODE] This is my code>> [CODE] <?php $user=$_GET['username']; $Custno=$_GET['Custno']; $RoomNo=$_GET['RoomNo']; $username="jasmine"; $password="price"; $db=mysql_connect("localhost" , $username, $password); mysql_select_db("hotel_cali", $db); $sql="SELECT Email FROM customer …

Member Avatar for bakir
0
170
Member Avatar for Awah Mohamed

hello people . i am writing a login system for administers , so i made the login page with this code : [CODE] <?php ##################################################### # created by : Awah Mohammed # # date : 23/12/2010 at 23:15 pm # # haha , i like writing such stuff in my …

Member Avatar for bakir
0
168
Member Avatar for Awah Mohamed

hello people i am new to oop , well , i am good in the normal php but i started oop today and now i am getting too many errors . check the class_lib.php bellow , it has my classes and mainly the database connectors .: [CODE] <?php class db …

Member Avatar for P0lT10n
0
166

The End.