GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Oct-2002, 18:14
pcxgamer's Avatar
pcxgamer pcxgamer is offline
Senior Member
 
Join Date: Sep 2002
Location: South Carolina, USA
Posts: 1,095
pcxgamer is a jewel in the roughpcxgamer is a jewel in the roughpcxgamer is a jewel in the rough

Question


I need alittle help with a php script I'm working on its a script that write a link to a MySQL database and I need to know how to make it open the link in a frame.

Thanks for any help
Attached Files
File Type: txt addlink.txt (2.5 KB, 25 views)
  #2  
Old 09-Oct-2002, 19:35
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
wow, that was fast! did u learn all that in 1 week???

anyway, i didn't really look closely at the code - will do that later tonight when i get back.

however i don't understand your question...

did u want to know how to get something like this into your db?

Code:
<a href="http://www.example.com/" target="frame">

the target part i mean... or something else?
  #3  
Old 09-Oct-2002, 19:48
pcxgamer's Avatar
pcxgamer pcxgamer is offline
Senior Member
 
Join Date: Sep 2002
Location: South Carolina, USA
Posts: 1,095
pcxgamer is a jewel in the roughpcxgamer is a jewel in the roughpcxgamer is a jewel in the rough
No I'm still learning I'm edit and working with someone elses script but if you look at my site click on games and a window will pop up and there is where you select the link you would like to go to but I don't what it to open in that page I what it to open in the main frame.
  #4  
Old 10-Oct-2002, 05:36
Garth Farley Garth Farley is offline
Awaiting Email Confirmation
 
Join Date: May 2002
Location: Ireland
Posts: 638
Garth Farley is a jewel in the roughGarth Farley is a jewel in the roughGarth Farley is a jewel in the rough
You want to stop it from opening up a new window? The only thing I can see creating the pop-up is:
Code:
<tr> <td>Site URL</td> <td><input size="30" name="siteurl" value="http://" target="intro" maxlength="50"></td> </tr>

Maybe if you remove the target bit, it should stop the pop-up. Worth a shotD

Garth Farley:
  #5  
Old 10-Oct-2002, 06:06
pcxgamer's Avatar
pcxgamer pcxgamer is offline
Senior Member
 
Join Date: Sep 2002
Location: South Carolina, USA
Posts: 1,095
pcxgamer is a jewel in the roughpcxgamer is a jewel in the roughpcxgamer is a jewel in the rough
The target bit was my first attempt to correct the problem but it didn't work. So Sorry I didn't take it out bofore I uploaded the file this afternoon I will up load the full zip file later on tonight. I thought this was to file that would write the info to the database
  #6  
Old 10-Oct-2002, 09:04
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
so what's the status now?

l had a peek at ur pages and everything seems fine accept for those mySQL errors
  #7  
Old 10-Oct-2002, 09:16
pcxgamer's Avatar
pcxgamer pcxgamer is offline
Senior Member
 
Join Date: Sep 2002
Location: South Carolina, USA
Posts: 1,095
pcxgamer is a jewel in the roughpcxgamer is a jewel in the roughpcxgamer is a jewel in the rough
I'm currently working on the MySQL error its because the install script isn't putting in the tables. But I'll work it out. and the link system still isn't working. It'll open in that pop up window but not the frame.
  #8  
Old 10-Oct-2002, 09:18
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
naming the target didn't help?
  #9  
Old 10-Oct-2002, 09:37
pcxgamer's Avatar
pcxgamer pcxgamer is offline
Senior Member
 
Join Date: Sep 2002
Location: South Carolina, USA
Posts: 1,095
pcxgamer is a jewel in the roughpcxgamer is a jewel in the roughpcxgamer is a jewel in the rough
I'll try it again when I get home and make sure that I didn't do anything wrong but the target code that was in there was what I had put there. But It didn't seem to have any afect on the database.
  #10  
Old 11-Oct-2002, 01:19
pcxgamer's Avatar
pcxgamer pcxgamer is offline
Senior Member
 
Join Date: Sep 2002
Location: South Carolina, USA
Posts: 1,095
pcxgamer is a jewel in the roughpcxgamer is a jewel in the roughpcxgamer is a jewel in the rough
ok I tried the file again to make sure that it wouldn't work and it didn't it still wants to opent he file in the same window. I'mm going to upload the the zip file. And Jds I think I sovled the MySQL error that you saw earier.

Thank again
Attached Files
File Type: zip phplinks[1].tar.zip (8.0 KB, 5 views)
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
video editing question Kris Computer Software Forum - Windows 8 13-Apr-2005 19:22
a C input question.. tmike C Programming Language 2 19-Sep-2003 03:39
a C input question tmike C Programming Language 1 16-Sep-2003 03:31
a noobish compiler question Charunks C++ Forum 5 03-Sep-2003 03:18
Mozilla TARGET question nickbeee Web Design Forum 2 03-Aug-2002 04:57

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 13:10.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.