39,316 Topics

Member Avatar for
Member Avatar for itisnot_me

ok i think that i am missing something here but i not sure what. i have a function with a class that is supposed to take all the data make a query and then put into an array the data i would like to collect later function [CODE] function getDataLoop($strDbType, …

Member Avatar for itisnot_me
0
209
Member Avatar for studioceasar

Hi All, I'm working on a website page that is displaying data from a SQL database. I have a series of echo statements display the data within a table: [CODE] echo "<table border '1' bordercolor='#333333' cellpadding='3' cellspacing='0' width='100%'> <tr> <th><span class='heading'>ID</span></th> <th><span class='heading'>Date Submitted</span></th><th><span class='heading'>Location</span></th><th><span class='heading'>Type</span></th><th><span class='heading'>Request</span></th> <th><span class='heading'>Start Date</span></th><th><span …

Member Avatar for weekendrockstar
0
89
Member Avatar for jaydeebee84

Hi, right I'll try put this across quickly but basically at the moment I have AJAX posting to a separate PHP page and then getting the response which is echoed on that page which is then used on the original page to display. This works fine and is all good, …

Member Avatar for jaydeebee84
0
141
Member Avatar for keyroche

Hello all! I am making a web application that allows someone to create a website through the various steps of the app. The system is based on templates, that a user picks and then chooses the content to go into it. I have all the info stored in a session …

Member Avatar for sDJh
0
609
Member Avatar for paullanesra

hi i am having a problem with a php script. i have 3 files index.php, home.html.php, form.html.php. home.html.php is working fine, if has a form that is submitting fine but when it submits i get a problem. maybe someone can help me out please i would be grateful as i …

Member Avatar for EricIskhakov
0
131
Member Avatar for Ellsinore

I'm transcribing information from .jpg files. I have my form set up, but as it is now, I have to have the photos open in another window to read them, and use a <select> form field to list all the file names using this code: [code] $files = array(); $dh …

Member Avatar for Ellsinore
0
115
Member Avatar for joban.ali

I want to use sessions to identify if a user is signed in. If user is signed in they should be directed to their own profile. If the user is not signed in then the user should be taken to the login page. on my header I have options when …

Member Avatar for joban.ali
0
117
Member Avatar for GaBack

I'm stack in a php code that i want to find the total but i don't know what i did wrong and the total comes alway on "0". My code like a order list. You check on what thing you need and how many do you want. You order it. …

Member Avatar for GaBack
0
115
Member Avatar for tcollins412

i am making a website in php all on one page. here is my script [CODE]<a href='?goto=register'>register</a> <?php if ($_GET['goto']=='register'){ ?> <form name='register' method='POST' action='?goto=reg'> <table style='margin-left: auto; margin-right: auto; color: white; font-weight: bold;'> <tr><td style='text-align:center;'>First Name: <input type='text' name='first'></td></tr> <tr><td style='text-align:center;'>Last Name: <input type='text' name='last'></td></tr> <tr><td style='text-align:center;'>Email: <input type='text' …

Member Avatar for pzuurveen
0
120
Member Avatar for Buppy

Hi, I have a file index.php with script on a link, which opens new window with myfile.php, using JS window.open method. The page itself is based on PHP. What i need to do is to prevent direct access to that JS popup window file. For example, if i press a …

Member Avatar for Buppy
0
218
Member Avatar for rajeesh_rsn

Hi friends, I had a database table as follows ... Id | Film Name | Director | Cast | ---------------------------------------- 12 | Dhoom | Name | 123,128,125,458,12 12 | Dhoom 2 | Name | 129,158,147,455 ------------------------------------------------ I need search by cast column For eg : If I select :- [ICODE]select …

Member Avatar for smantscheff
0
97
Member Avatar for bigil

i want to list car category name and car details in a single page but the result is car details are same for every category…. can anyone help me ..... thanks in advance controller [ICODE] function index() { $fleets = $this->Fleets_model->select_fleets(); $this->data['fleets'] = $fleets; foreach($fleets as $row) { $cid = …

0
33
Member Avatar for samsons17

Hi, after days of figuring this out, i still have no idea of whats wrong with the code.. Hopefully you guys could help me out.. when i put this code on my home.php file, i keep getting this error : [B] Parse error: syntax error, unexpected $end in C:\xampp\htdocs\smartforum\home.php on …

Member Avatar for samsons17
0
71
Member Avatar for becool007

I have an edit box :) (took me a while to understand) and now in part of my custom calculator project. I need to take the value in the edit box and process it. The thing is. I want to process the string from the edit box and check if …

Member Avatar for becool007
0
54
Member Avatar for Ender330

Hello, I am trying to fix this problem with my site. If any can please help me and let me know how I may fix the problem or find what is causing the problem. Thanks Warning: session_register() [function.session-register]: Warning: session_start() [function.session-start]: Cannot find save handler 'memcache' - session startup failed …

Member Avatar for Ender330
0
205
Member Avatar for ksquared

The full error message is: missing ) after argument list [Break On This Error] change_content('imagediv', '<img src='images/painting_2.jpg'>'); Maybe I've been staring at this for too long, but I believe the parentheses are in the correct position. This code is contained in an include. Thank you. [code]<?php $paintingBack=$paintingNumber-1; $paintingNext=$paintingNumber+1; if ($paintingBack …

Member Avatar for ksquared
0
158
Member Avatar for nicksontinko

For a website which was lately just created, it would initially be 5-10 pages and together with the off page seo, seo page is very important for a search engine to find a newly created website. My question is in this newly created website, what are the different ways to …

Member Avatar for diafol
0
81
Member Avatar for radsv

Hi I need some help in connecting to the mysql server. Here is the full situation : server H -- i have access to this server -- but this server does not have apache it is basically like a dropbox, i just throw the phpmyadmin config file in here and …

0
74
Member Avatar for branding4you

Hi all I have a enquiry form with 15 or more items on it items like "where did you hear from us" Options in the dropdown next to it is: Internet Newsletter Magazine Friend when internet is selected a text box apears Newsletter shows nothning magazine asks what magazine in …

Member Avatar for diafol
0
65
Member Avatar for mad_pierrot

Hello everyone, I'm trying to create a PHP cURL script that does two main things. 1) Login to website (works) 2) Export table as CSV (doesn't work) To export the table as a CSV, two things need to be selected. Which table I want to export, in this case customers, …

0
130
Member Avatar for rajeesh_rsn

Hi friends, In my php form I just blocked the sql injection by adding below into my processing page [ICODE]$comment=mysql_real_escape_string($_POST['comment']);[/ICODE] But I need to add "Richtext format in My Form ( Ie BOLD, ITALICS and UNDERLINE ). Now I just want to enable only these in my processing page ( …

Member Avatar for itslucky
0
85
Member Avatar for mamari

I'm getting an error: mysql_fetch_array(): supplied argument is not a valid MySQL result resource [CODE] function next_record() { $this->myrow = mysql_fetch_array($this->result); return $this->myrow; } [/CODE] Please help!

Member Avatar for mamari
0
227
Member Avatar for Drako12

Hi, im having trouble doing something that should be simple.. i have a form that inputs some data into a table using php and jquery.. after that input i have to reload the page so that is possible to see the new data on the table. So i added some …

0
63
Member Avatar for veledrom

Hi, I need to develop an interface where scanned barcode information is inserted in MySQL database with using PHP. Is this possible? If so, how it actualy works? It will be done with Wired and Wireless scanners. Does it differ? Regards

Member Avatar for mschroeder
0
2K
Member Avatar for spgun

I guys, I want to upload files to a MySQL database in PHP.... The connection is OK... but there is a problem with the document column.. If anyone can help me , please give me a working solution..

Member Avatar for diafol
0
138
Member Avatar for dourvas

Hallo, I have made a login system using sessions. It have been working fine for 3 months. The last week some problems are occuring. First let me write the code i use. There is a mysql database which contains all the data necessary. There is also a form which the …

0
111
Member Avatar for printman55

The mysql database I set up used date format for the field. Consequently dates have to be entered as 0000-00-00. So when I retrieve the field name news_date from the database it will print as 2011-02-02. I would like to display it as February 2, 2011. Can someone help me …

Member Avatar for paulrajj
0
137
Member Avatar for komanche

Hi all am having problems with my login forms. I have written the code and has no errors, but when I run it from my browser i get "Warning: mysql_query() expects parameter 2 to be resource, null given in C:\xampp\htdocs\nicks\includes\database.php on line 269" I have a "MySQL Table with Members …

Member Avatar for divyakrishnan
0
50
Member Avatar for tape enterprise

well I have a search feature on my site and it works great if the query returns results but if it doesn't it falls apart what do I do to make it say "no search results found" when the query comes up as empty My code is this to handle …

Member Avatar for pritaeas
0
113
Member Avatar for skald89

[url]http://s56.photobucket.com/albums/g194/flameingulfedpyro/?action=view&current=slideshow.jpg[/url] In the picture I have a picture div and a text div. The picture and text are related to one another. I want it that when you click the right or left arrow the pic and text change together. I dont really care how they change, slide, fade, or …

Member Avatar for pritaeas
0
157

The End.