39,393 Topics

Member Avatar for
Member Avatar for gagan22

Hi all, I am working on webdirectory. But i want when i click on any link on that page then page should be same and informtion or contents of that page will be change. Let me explain--- Like i have one file index.php and here are so many linke like …

Member Avatar for Josh Connerty
0
125
Member Avatar for NoID

Hello Guys, I am not really sure how to ask this, but i will try my best, as much help will be apericiated. I have a saved.php page which echos all saved data that i have filled inluding customer email. I then want a email.php to have echoing all emails …

Member Avatar for NoID
0
113
Member Avatar for cooweck

I want to excute "pict" program which is a combination tool and then pass all the output to the DB; mysql and it seems either using exec, passthru or system doesn't matter, does't it? what should be done step by step?

Member Avatar for kireol
0
64
Member Avatar for OmniX

This does not need to be done using PHP but I cannot think of anything else that would make this possible unless manual labor as such(disecting the image and reconstructing it piece by piece)? How would this be done using PHP or any other technology? THanks, Regards X

Member Avatar for sikka_varun
0
101
Member Avatar for aran87

Hello is it possible to create a bar chart or some sort of chart based on two coloums from mysql table i want the graph to be displayed on php when the search is carried out im not sure if this has been done before but if so what do …

Member Avatar for make.rohit
0
730
Member Avatar for pbt

I am doing a campus project in php regarding musical site and i have to insert ziped files of songs in the database. so, i don't know how to deal with the zip files. Therefore, help me.

Member Avatar for somedude3488
0
97
Member Avatar for gillypogi

hey guys. im a 4th year IT student from the philippines and i need a thesis topic. i can seem to get my thinking cap on and im running out of time. is there anyone there who has a thesis idea? Im planning a web based application but i dont …

Member Avatar for ithelp
0
32
Member Avatar for EvilOrange

i have gotten this example print out of an array, i'm new to php and am confusing myself upon how to access it this is an example of the print out:[CODE] $myarray = array( [0] => Array ( [var_a] => something [var_b] => something else ) ...);[/CODE] so to access …

Member Avatar for ryan_vietnow
0
78
Member Avatar for nigelburrell

I am building a project management website which enables users from around the world to login and automatically register their time against various work projects. I need to save their login time to the database using their "local machine" time (the time as it exists for them, not the time …

Member Avatar for nigelburrell
0
115
Member Avatar for beginninphp

Hello, I tried to use regex to search through blablablabla[B][url]http://www.myspace.com/username[/url][/B] by using preg_match('~http://www\.myspace\.com/.+"~',$string,$match); The tilde or lack of was tripping me up... am I even close? I was just trying to extract the username at the end, before it was marked off by a double quote ("). I tried adapting …

Member Avatar for beginninphp
0
108
Member Avatar for kingben

Hi. I am serving the contents of the page based on the navigation anchor links. e.g. [url]http://somesite.com/index.html#home[/url] will serve the home page contents. [url]http://somesite.com/index.html#about[/url] will serve the about page contents. The contents are stored in contents.php page and are written in the below tag inside index.html [code=html] <div id=contents> <!-- …

Member Avatar for Airshow
0
131
Member Avatar for Tekkno

I have the following query: [code] <?php $query="SELECT * FROM table LIMIT 4"; $result=mysql_query($query); echo "<tr>"; for($i=1;$i<mysql_num_fields($result);$i++) { echo "<th style='height: 10px; padding: 0px;'>"; echo mysql_field_name($result, $i); echo "</th>"; } while($row=mysql_fetch_row($result)) { echo "<tr>"; for($j=1;$j<$i;$j++) { echo "<td style='height: 10px; padding: 0px;'>"; echo $row[$j]; echo "</td>"; } echo "</tr>"; } …

Member Avatar for Tekkno
0
87
Member Avatar for treybraid

how do i script a php echo for info stored in mysql so it is rendered as a hyperlink to its website? here is the script i am trying to edit: [B][COLOR="Red"]highlighted in red[/COLOR][/B] is what i need to change for the echo to href. [code]<table> <?php if($this->team->t_official_website){?> <tr> <td …

Member Avatar for pritaeas
0
76
Member Avatar for abhi_elementx

hello guys. dont know if this is the right forum. I am trying to [B]install Joomla[/B] and at step 2 it says [B]MySql No support[/B] [B]i have mysql installed[/B] and also have dbs created. Using php, i can access connect to the db and run queries. What am i missing? …

Member Avatar for abhi_elementx
0
88
Member Avatar for waqaskhan1

plz tell java script checks for not insert blank value in database when using fckeditor????? when i not insert any record,the script runs like enter ans but value also inserted in data base..i want not insert blank value and check also runs .... my code is that: [code=php] <script type="text/javascript"> …

Member Avatar for emarshah
0
197
Member Avatar for sharal

hello forum im trying to insert record in different table using single query (on the base of class, class name and tables name are same)and wants to insert record in 1 table at 1 time is it possibol to select the table name through class here is the code but …

Member Avatar for pritaeas
0
78
Member Avatar for prateekm

[code=php]<?php $con = mysql_connect("localhost:3306","pm" ,""); if (!$con) { die('Could not connect: ' . mysql_error()); } // some code ?>[/code] on writing the above code it is showing the following error: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'pm'@'localhost' (using password: NO) in C:\wamp\www\p2.php on line 83 Could not connect: Access …

Member Avatar for prateekm
0
203
Member Avatar for Toxikr3

Hi guys, I am in need of a simple friends list code. I don't know how to start it, but I have gotten an idea, maybe anyone of you can help? I have setup a database with login and password, I want to also add a Friends column. I will …

Member Avatar for Toxikr3
0
231
Member Avatar for papermusic

hi, i need some help on inserting checkbox values into the mysql database. what sort of data type should i use for mysql to store these? for example i need to insert a few hobbies as checkbox 1.basketball 2.football 3.hockey i need to be able to perform a search and …

Member Avatar for mrcniceguy
0
145
Member Avatar for bhavnaJobcentre

Hello, I am currently designing a site that displays photography, and am exploring the different ways in which to do this. I am trying to develop, using PHP and MYSQL, a way of having image links held in a database and then the first image in sequence to be rendered …

Member Avatar for diafol
0
222
Member Avatar for itisnot_me

hey all i got a question where i am not sure that it will be possible. i already have my table in my data base which has values in it ex: first_property. and i made a little script which helps me grab all the names in the form that i …

Member Avatar for itisnot_me
0
90
Member Avatar for stlboarder

I'm getting this error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' and can't figure out what's wrong. Any help? [code=php]echo '<p><label for="comment"><strong>Questions / Comments :</strong></label> (<span class="cursor" onclick="document.getElementById('comment').rows += 5;" title="Increase The Textarea">increase</span> >> <span class="cursor" onclick="document.getElementById('comment').rows -= 5;" title="Decrease The Textarea">decrease</span>)<br />'."n";[/code]

Member Avatar for diafol
0
77
Member Avatar for 83apple

Im getting this error message "Parse error: syntax error, unexpected $end" Can anyone point out this error. Thank you. [code=php]<?php function CopyrightCheck($crCheck) { $crCheck = stripslashes($crCheck); $Copyright_Notice = "Copyright &copy; 2000-2009 YourWebsite.com (Your Script). All Rights Reserved"; if ($crCheck !== $Copyright_Notice) { return COPYRIGHT_NOT_VALID; } else { return COPYRIGHT_IS_VALID; } …

Member Avatar for diafol
0
120
Member Avatar for anantwaykar

I am new for PHP language I dont know how to run PHP files on out machine so please anyone tell me how to do it thanks

Member Avatar for diafol
0
123
Member Avatar for dwdata

I have implemented a log-in routine that I thought captured SESSION variable to use through out all my PHP pages of my site. Here is the snippet of code which sets the session variables: [CODE] if($result) { if(mysql_num_rows($result) == 1) { //Login Successful session_regenerate_id(); $member = mysql_fetch_assoc($result); $_SESSION['SESS_MEMBER_ID'] = $member['id']; …

Member Avatar for diafol
0
1K
Member Avatar for Zurompeta

Hi all, Been at this for a while now and finally gave in to seek help. Basically, I'm trying to setup a regular expression for a decimal. Where there's 1 to 7 integers in front of the decimal point, and 1 to 2 after the decimal point. This is what …

Member Avatar for Zurompeta
0
75
Member Avatar for 83apple

Does anyone know a way to guarantee that a copyright has not been removed from a script. An example would be this. I put a copyright notice on page one, when the page is loaded it checks with page 2 to see if the copyright is there or not. If …

Member Avatar for kireol
0
88
Member Avatar for dwdata

I am trying to plot my way through coding a BCC Bulk HTML email. I can't get the code below to work and I want to also call another query to grab the emails for a BCC email. SPAM security would be helpful if it is easy enough to add …

Member Avatar for somedude3488
0
209
Member Avatar for EvilOrange

i have to access an array within an array using php, and i have very little experience working with php. can anyone point me towards a good tutorial or show me an example of how to go about it? eg: [0] contians [a],[b],[c] many thanks

Member Avatar for ShawnCplus
0
632
Member Avatar for davebrwn1

Hello to all, My problem is that i have installed apache 2.2.6 and also have php 5.2 version. also made all the changes in conf file of apache. I also did all the necessary things on PHP side (placing & changing files in windows folder) . My apache web server …

Member Avatar for ShawnCplus
0
118

The End.