Quantcast
Channel: PHP Freaks: PHP Help
Browsing all 13200 articles
Browse latest View live

PHP Query -character length

hi,   i need some help, in mysql query the output show as below :- 020000000000000000000790715035426 FIRSTNAME LASTNAME 800 000000000015900000000000013500000000000121700 but when i do <?php $data1 =...

View Article


pagination

How would I create a pagination from the following code I got for looking up a database.   $select_gamereview = mysql_query("select * from news where category='gamereview' order by topic ASC");...

View Article


contact form issue

Hi,   I am pretty new to PHP and i am currently working on a website.   I am having an issue with contact Us form on my webpage. It is always displaying a message when you open the contact form: "Your...

View Article

while loop repeating same data

I have a MySQL query which gets the required data ok. But when I submit the results into the HTML table it displays the data ok but it repeats it over and over. Here is my code:...

View Article

Matching

<?php $phoneDevices = array( 'iPhone' => '\biPhone.*Mobile|\biPod', // |\biTunes 'BlackBerry' => 'BlackBerry|\bBB10\b|rim[0-9]+', 'Nexus' => 'Nexus One|Nexus...

View Article


Image may be NSFW.
Clik here to view.

Weird Binary Code Conversion?

Been looking at the mysql patterns for this very old game that was made in 1999-2001 called "Return Of Warrior" (Downloaded some private server files and checked how they stored the equipments and...

View Article

Table not showing the Last Record

I have created PHP coding that pulls records from a MySQL database. It works fine, EXCEPT that it does not display the last person's position (acronym) and name (officer). It does however pull the...

View Article

My sql query is giving me a wrong result

hello people my code is displaying the last result instead of the exact result i requested for. Here is my code     <table width="800" height="40" align="center">                <form...

View Article


include ' '; in html form

I have the following html form:  $form = "<div id='forms'><form action='login.php' method='post'> <table class='forms'> <td>Username:</td> <td><input type='text'...

View Article


help to separate query array

so I have a query that I need to basically split in half to display in two section on the web page. I have a left side and a right side that will be filled with random selected images from the...

View Article

Insert "@" character in a php code

Hi, I have a board in phpbb and I want to make a little modification in php code.   This is the original code: $message_parser->message = '[quote="' . $post_data['quote_username'] . '[url=' ....

View Article

site no longer in search engine

I submitted my site to yahoo and Google. it was showing up in both search engines. Now it has disappeared from yahoo/bing. It was there before and would consistently come up #1 if I searched the URL. I...

View Article

Submit data once radio button is clicked

Hello,   I'm trying to create a short quiz that basically has 1 question per screen and uses radio buttons for the answer choices. I would like for the user to be able to make their answer selection...

View Article


Update mysql with php form problem

Hello i am trying to make an admin-panel and right now im stuck at the part where you should edit the content/topic at the home page   so everything exept the submit button work please help!   here's...

View Article

Image may be NSFW.
Clik here to view.

Need to use mt_rand on a array lol

Okay, so my monsters table has a column called "droparray" for example: 7,2,5   7,2,5 are the id's of the items they could POSSIBLE get when they kill the monster  [Intuitive eh?]   I need a way to...

View Article


MS Access 2003 to MySQL?

Hi Coders,   In the help of this forum and the following member, i get to present my work successfully and i am very thankfull. but now my boss suggest me and he get change his mind.   this is: the...

View Article

problem with two sessions on logout

i am using sessions. first on admin folder and second on user folder.  in admin folder, i use $_SESSION['username']; in user folder, i use $_SESSION['username1'];   now when i click on logout button in...

View Article


time not matches with system time

<?php echo date("h:i:s"); ?>   its output is : 12:05:04   but my system time shows: 3:35:01     i am not getting what function to use to match with system time??

View Article

PHP Sleep Function

Hello Experts,   I am new to phpfreaks and excited about following it :-)   Well I have an issue with sleep function. Whenever I use the sleep function it halts the page (which is supposed to be)....

View Article

Help Required to create single function for 4 different tables

I have 4 tables A (32 columns), B (50 columns), C (25 columns), D (52 columns), I want to write a single function to insert the values in all 4 tables. How can I manage the difference in the number of...

View Article
Browsing all 13200 articles
Browse latest View live